summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-23 06:00:58 +0800
committerGitHub <noreply@github.com>2024-06-23 06:00:58 +0800
commit52a847743efccb72bcd031cb1d419c84ed9d9afa (patch)
tree859c93d356fb2455f39b303b75981fb44a054095 /config.example.yaml
parent3826d808d81c3ddc996a987bf6a749e8df6d8c48 (diff)
downloadaichat-52a847743efccb72bcd031cb1d419c84ed9d9afa.tar.gz
refactor: improve system message handling (#634)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.example.yaml b/config.example.yaml
index a152fcc..8425cc7 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -3,7 +3,7 @@ model: openai:gpt-3.5-turbo # Specify the language model to use
temperature: null # Set default temperature parameter
top_p: null # Set default top-p parameter
-# ---- apperence ----
+# ---- apperence ----
highlight: true # Controls syntax highlighting
light_theme: false # Activates a light color theme when true. ENV: AICHAT_LIGHT_THEME
# Custom REPL prompt, see https://github.com/sigoden/aichat/wiki/Custom-REPL-Prompt for more detils
@@ -12,7 +12,7 @@ left_prompt:
right_prompt:
'{color.purple}{?session {?consume_tokens {consume_tokens}({consume_percent}%)}{!consume_tokens {consume_tokens}}}{color.reset}'
-# ---- behavior ----
+# ---- behavior ----
save: true # Indicates whether to persist the message
wrap: no # Controls text wrapping (no, auto, <max-width>)
wrap_code: false # Enables or disables wrapping of code blocks
@@ -61,7 +61,7 @@ rag_min_score_rerank: 0 # Specifies the minimum relevance score for re
rag_template: |
Use the following context as your learned knowledge, inside <context></context> XML tags.
<context>
- __CONTEXT__
+ __CONTEXT__
</context>
When answer to user:
@@ -73,7 +73,7 @@ rag_template: |
Given the context information, answer the query.
Query: __INPUT__
-# ---- clients ----
+# ---- client ----
clients:
# All clients have the following configuration:
# - type: xxxx