From eb023e57592eae1d1672136790fd4c028a6d8712 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 30 Oct 2023 19:57:45 +0800 Subject: chore: rename config.yaml to config.example.yaml --- config.example.yaml | 27 +++++++++++++++++++++++++++ config.yaml | 27 --------------------------- 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 config.example.yaml delete mode 100644 config.yaml diff --git a/config.example.yaml b/config.example.yaml new file mode 100644 index 0000000..32d8d37 --- /dev/null +++ b/config.example.yaml @@ -0,0 +1,27 @@ +model: openai:gpt-3.5-turbo # Choose a model +temperature: 1.0 # See https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature +save: true # If set true, aichat will save non-session chat messages to messages.md +highlight: true # Set false to turn highlight +light_theme: false # If set true, use light theme +wrap: no # Specify the text-wrapping mode (no*, auto, ) +wrap_code: false # Whether wrap code block +auto_copy: false # Automatically copy the last output to the clipboard +keybindings: emacs # REPL keybindings, possible values: emacs (default), vi + +clients: # Setup AIs + # See https://platform.openai.com/docs/quickstart + - type: openai # OpenAI configuration + api_key: sk-xxx # OpenAI api key, alternative to OPENAI_API_KEY + organization_id: org-xxx # Organization ID. Optional + proxy: socks5://127.0.0.1:1080 + connect_timeout: 10 + + # See https://github.com/go-skynet/LocalAI + - type: localai # LocalAI configuration + url: http://localhost:8080/v1/chat/completions # LocalAI api server + api_key: xxx # Api key. alternative to LOCALAI_API_KEY + models: # Support models + - name: gpt4all-j + max_tokens: 4096 + proxy: socks5://127.0.0.1:1080 + connect_timeout: 10 \ No newline at end of file diff --git a/config.yaml b/config.yaml deleted file mode 100644 index 32d8d37..0000000 --- a/config.yaml +++ /dev/null @@ -1,27 +0,0 @@ -model: openai:gpt-3.5-turbo # Choose a model -temperature: 1.0 # See https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature -save: true # If set true, aichat will save non-session chat messages to messages.md -highlight: true # Set false to turn highlight -light_theme: false # If set true, use light theme -wrap: no # Specify the text-wrapping mode (no*, auto, ) -wrap_code: false # Whether wrap code block -auto_copy: false # Automatically copy the last output to the clipboard -keybindings: emacs # REPL keybindings, possible values: emacs (default), vi - -clients: # Setup AIs - # See https://platform.openai.com/docs/quickstart - - type: openai # OpenAI configuration - api_key: sk-xxx # OpenAI api key, alternative to OPENAI_API_KEY - organization_id: org-xxx # Organization ID. Optional - proxy: socks5://127.0.0.1:1080 - connect_timeout: 10 - - # See https://github.com/go-skynet/LocalAI - - type: localai # LocalAI configuration - url: http://localhost:8080/v1/chat/completions # LocalAI api server - api_key: xxx # Api key. alternative to LOCALAI_API_KEY - models: # Support models - - name: gpt4all-j - max_tokens: 4096 - proxy: socks5://127.0.0.1:1080 - connect_timeout: 10 \ No newline at end of file -- cgit v1.2.3