72 lines
1.4 KiB
JSON
72 lines
1.4 KiB
JSON
{
|
|
"rag": {
|
|
"build": {
|
|
"base_image": "rust:1.82-trixie",
|
|
"binary": "provisioning-rag",
|
|
"buildkit": {
|
|
"cache_mode": "registry",
|
|
"inline_cache": false,
|
|
"parallel_jobs": 4
|
|
},
|
|
"chef_enabled": true,
|
|
"config_file": "",
|
|
"extra_runtime_pkgs": [
|
|
"openssl",
|
|
"libssl-dev"
|
|
],
|
|
"features": [],
|
|
"health_path": "/health",
|
|
"package": "rag",
|
|
"port": 9096,
|
|
"runtime_image": "debian:trixie-slim",
|
|
"sccache": {
|
|
"bucket": "rust-cache",
|
|
"enabled": false,
|
|
"region": ""
|
|
},
|
|
"user_id": 1000
|
|
},
|
|
"embeddings": {
|
|
"batch_size": 32,
|
|
"dimension": 384,
|
|
"model": "all-MiniLM-L6-v2",
|
|
"provider": "local"
|
|
},
|
|
"ingestion": {
|
|
"auto_ingest": true,
|
|
"chunk_size": 512,
|
|
"doc_types": [
|
|
"md",
|
|
"txt",
|
|
"toml"
|
|
],
|
|
"overlap": 50
|
|
},
|
|
"llm": {
|
|
"api_url": "http://localhost:11434",
|
|
"max_tokens": 2048,
|
|
"model": "llama3.2",
|
|
"provider": "ollama",
|
|
"temperature": 0.7
|
|
},
|
|
"logging": {
|
|
"level": "info"
|
|
},
|
|
"monitoring": {
|
|
"enabled": false
|
|
},
|
|
"rag": {
|
|
"enabled": true
|
|
},
|
|
"retrieval": {
|
|
"hybrid": false,
|
|
"reranking": false,
|
|
"similarity_threshold": 0.7,
|
|
"top_k": 5
|
|
},
|
|
"vector_db": {
|
|
"db_type": "memory",
|
|
"namespace": "provisioning"
|
|
}
|
|
}
|
|
}
|