summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-08-24 12:44:11 +0800
committerGitHub <noreply@github.com>2024-08-24 12:44:11 +0800
commit34ef752359062499d9f49c0a0155c8a11fd6f24b (patch)
tree566b6614aaa7596c5760271029aa42d83d4bb9dc /config.example.yaml
parent8e4b9a383d07a92f53a00ba6bdb304895ee32c41 (diff)
downloadaichat-34ef752359062499d9f49c0a0155c8a11fd6f24b.tar.gz
feat: support ai21 client (#800)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml
index d908fa1..fa97583 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -157,6 +157,12 @@ clients:
api_base: https://api.mistral.ai/v1
api_key: xxx
+ # See https://docs.ai21.com/docs/quickstart
+ - type: openai-compatible
+ name: ai12
+ api_key: xxx
+ api_base: https://api.ai21.com/studio/v1
+
# See https://docs.cohere.com/docs/the-cohere-platform
- type: cohere
api_key: xxx