provisioning/schemas/platform/configs/rag.multiuser.ncl

13 lines
790 B
Plaintext
Raw Normal View History

# RAG System - Multiuser Mode
let rag_schema = import "../schemas/rag.ncl" in
{
rag | rag_schema.RagConfig = {
rag = { enabled = true, },
embeddings = { provider = "openai", model = "text-embedding-3-small", dimension = 1536, batch_size = 100, },
vector_db = { db_type = "surrealdb", url = "http://surrealdb:8000", namespace = "provisioning-team", database = "rag", hnsw_m = 16, hnsw_ef_construction = 200, },
llm = { provider = "anthropic", model = "claude-3-5-sonnet-20241022", temperature = 0.7, max_tokens = 4096, },
retrieval = { top_k = 10, similarity_threshold = 0.75, reranking = true, hybrid = true, },
ingestion = { auto_ingest = true, watch_files = true, chunk_size = 1024, overlap = 100, doc_types = ["md", "txt", "toml", "ncl", "rs", "nu"], },
},
}