summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-20 11:26:45 +0800
committerGitHub <noreply@github.com>2024-06-20 11:26:45 +0800
commit2eab71a641827e503b14952373aec82661192ba2 (patch)
treeb2f1fd1d8b988391d85a8058dcaaadd6ef379533 /config.example.yaml
parent3b3d39cef0211b607d51360d0739022f953ba1a7 (diff)
downloadaichat-2eab71a641827e503b14952373aec82661192ba2.tar.gz
feat: rag hybrid search (#618)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 9813ced..ead96f4 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -41,8 +41,10 @@ rag_chunk_size: null
rag_chunk_overlap: null
# Specifies the number of documents to retrieve
rag_top_k: 4
-# Specifies the minimum relevance score for retrieved documents
-rag_minimum_score: 0
+# Specifies the minimum relevance score for vector search
+rag_min_score_vector: 0
+# Specifies the minimum relevance score for full-text search
+rag_min_score_text: 0
# Defines the query structure using variables like __CONTEXT__ and __INPUT__ to tailor searches to specific needs
rag_template: |