rename BM25_WEIGHT -> HYBRID_BM25_WEIGHT

This commit is contained in:
Jan Kessler
2025-05-23 22:06:44 +02:00
parent 308d8ac04a
commit e70dd33233
6 changed files with 32 additions and 32 deletions
+4 -4
View File
@@ -1928,10 +1928,10 @@ RAG_RELEVANCE_THRESHOLD = PersistentConfig(
"rag.relevance_threshold",
float(os.environ.get("RAG_RELEVANCE_THRESHOLD", "0.0")),
)
RAG_BM25_WEIGHT = PersistentConfig(
"RAG_BM25_WEIGHT",
"rag.bm25_weight",
float(os.environ.get("RAG_BM25_WEIGHT", "0.5")),
RAG_HYBRID_BM25_WEIGHT = PersistentConfig(
"RAG_HYBRID_BM25_WEIGHT",
"rag.hybrid_bm25_weight",
float(os.environ.get("RAG_HYBRID_BM25_WEIGHT", "0.5")),
)
ENABLE_RAG_HYBRID_SEARCH = PersistentConfig(