summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-01-10 17:31:41 +0800
committerGitHub <noreply@github.com>2025-01-10 17:31:41 +0800
commit486ee57bf8123116a326d1433bcb1b36ff88ee67 (patch)
treeb5993c2b012086a94bdac148000f118d0e6c3756 /config.example.yaml
parent927b73665ffc8025a7d18a162165e38e3af08747 (diff)
downloadaichat-486ee57bf8123116a326d1433bcb1b36ff88ee67.tar.gz
feat: discontinue `rag_min_score_*` config items (#1081)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml12
1 files changed, 5 insertions, 7 deletions
diff --git a/config.example.yaml b/config.example.yaml
index aa26de7..d629a5e 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -35,13 +35,11 @@ summary_prompt: 'This is a summary of the chat history as a recap: '
# ---- RAG ----
# See [RAG-Guide](https://github.com/sigoden/aichat/wiki/RAG-Guide) for more details.
-rag_embedding_model: null # Specifies the embedding model to use
-rag_reranker_model: null # Specifies the rerank model to use
-rag_top_k: 5 # Specifies the number of documents to retrieve
-rag_chunk_size: null # Specifies the chunk size
-rag_chunk_overlap: null # Specifies the chunk overlap
-rag_min_score_vector_search: 0 # Specifies the minimum relevance score for vector-based searching
-rag_min_score_keyword_search: 0 # Specifies the minimum relevance score for keyword-based searching
+rag_embedding_model: null # Specifies the embedding model used for context retrieval
+rag_reranker_model: null # Specifies the reranker model used for sorting retrieved documents
+rag_top_k: 5 # Specifies the number of documents to retrieve for answering queries
+rag_chunk_size: null # Defines the size of chunks for document processing in characters
+rag_chunk_overlap: null # Defines the overlap between chunks
# Defines the query structure using variables like __CONTEXT__ and __INPUT__ to tailor searches to specific needs
rag_template: |
Answer the query based on the context while respecting the rules. (user query, some textual context and rules, all inside xml tags)