From 52a847743efccb72bcd031cb1d419c84ed9d9afa Mon Sep 17 00:00:00 2001 From: sigoden Date: Sun, 23 Jun 2024 06:00:58 +0800 Subject: refactor: improve system message handling (#634) --- config.example.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.example.yaml') 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, ) 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 XML tags. - __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 -- cgit v1.2.3