summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-09-09 20:26:59 +0800
committerGitHub <noreply@github.com>2024-09-09 20:26:59 +0800
commit84e9515509c559ed01e4b0a67539f10cd2c065e6 (patch)
tree1de64161dca88cda1947191a8a3ef3b0ea6ad08a /config.example.yaml
parente5cc194598b86c20e6870ae3d68fe256f3a6ce4e (diff)
downloadaichat-84e9515509c559ed01e4b0a67539f10cd2c065e6.tar.gz
refactor: abandon config `rag_min_score_rerank` (#852)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 40cd311..a1caea2 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -42,7 +42,6 @@ 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_min_score_rerank: 0 # Specifies the minimum relevance score for reranking
# Defines the query structure using variables like __CONTEXT__ and __INPUT__ to tailor searches to specific needs
rag_template: |
Use the following context as your learned knowledge, inside <context></context> XML tags.
@@ -75,6 +74,9 @@ left_prompt:
right_prompt:
'{color.purple}{?session {?consume_tokens {consume_tokens}({consume_percent}%)}{!consume_tokens {consume_tokens}}}{color.reset}'
+# ---- misc ----
+serve_addr: 127.0.0.1:8000 # Default serve listening address
+
# ---- clients ----
clients:
# All clients have the following configuration: