From 2eab71a641827e503b14952373aec82661192ba2 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 20 Jun 2024 11:26:45 +0800 Subject: feat: rag hybrid search (#618) --- config.example.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.example.yaml') 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: | -- cgit v1.2.3