15 lines
736 B
Plaintext
Raw Normal View History

# RAG System Default Configuration
let rag_schema = import "../schemas/rag.ncl" in
{
rag | rag_schema.RagConfig = {
rag = { enabled = true, },
embeddings = { provider = "local", model = "all-MiniLM-L6-v2", dimension = 384, batch_size = 32, },
vector_db = { db_type = "memory", namespace = "provisioning", },
llm = { provider = "ollama", model = "llama3.2", api_url = "http://localhost:11434", temperature = 0.7, max_tokens = 2048, },
retrieval = { top_k = 5, similarity_threshold = 0.7, reranking = false, hybrid = false, },
ingestion = { auto_ingest = true, chunk_size = 512, overlap = 50, doc_types = ["md", "txt", "toml"], },
monitoring = { enabled = false, },
logging = { level = "info", },
},
}