diff options
| author | sigoden <sigoden@gmail.com> | 2024-09-02 08:29:57 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2024-09-02 08:29:57 +0800 |
| commit | e39498e340a192077ec64d14c72470cd99716a71 (patch) | |
| tree | 98be7415cefc2db0bf8f2b32503d2bfd655bd017 /config.example.yaml | |
| parent | 2cba09c064b366ad91c7eda3acbc2030215a1842 (diff) | |
| download | aichat-e39498e340a192077ec64d14c72470cd99716a71.tar.gz | |
chore: update config.example.yaml
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/config.example.yaml b/config.example.yaml index f415d38..35ebf45 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -96,7 +96,7 @@ clients: # patch: # Patch api # chat_completions: # Api type, possible values: chat_completions, embeddings, and rerank # <regex>: # The regex to match model names, e.g. '.*' 'gpt-4o' 'gpt-4o|gpt-4-.*' - # url: '' # Patch request url + # url: '' # Patch request url # body: # Patch request body # <json> # headers: # Patch request headers @@ -107,8 +107,8 @@ clients: # See https://platform.openai.com/docs/quickstart - type: openai - api_key: sk-xxx api_base: https://api.openai.com/v1 # Optional + api_key: sk-xxx organization_id: org-xxx # Optional # For any platform compatible with OpenAI's API @@ -129,8 +129,8 @@ clients: # See https://ai.google.dev/docs - type: gemini + api_base: https://generativelanguage.googleapis.com/v1beta api_key: xxx - api_base: https://generativelanguage.googleapis.com/v1beta # Optional patch: chat_completions: '.*': @@ -147,8 +147,8 @@ clients: # See https://docs.anthropic.com/claude/reference/getting-started-with-the-api - type: claude - api_key: sk-ant-xxx api_base: https://api.anthropic.com/v1 # Optional + api_key: sk-ant-xxx # See https://docs.mistral.ai/ - type: openai-compatible @@ -159,25 +159,25 @@ clients: # See https://docs.ai21.com/docs/quickstart - type: openai-compatible name: ai12 - api_key: xxx api_base: https://api.ai21.com/studio/v1 + api_key: xxx # See https://docs.cohere.com/docs/the-cohere-platform - type: cohere - api_key: xxx api_base: https://api.cohere.ai/v1 # Optional + api_key: xxx # See https://docs.perplexity.ai/docs/getting-started - type: openai-compatible name: perplexity - api_key: pplx-xxx api_base: https://api.perplexity.ai + api_key: pplx-xxx # See https://console.groq.com/docs/quickstart - type: openai-compatible name: groq - api_key: gsk_xxx api_base: https://api.groq.com/openai/v1 + api_key: gsk_xxx # See https://github.com/jmorganca/ollama - type: openai-compatible @@ -186,8 +186,8 @@ clients: # See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart - type: azure-openai - api_key: xxx api_base: https://{RESOURCE}.openai.azure.com + api_key: xxx models: - name: gpt-4o # Model deployment name max_input_tokens: 128000 @@ -240,77 +240,77 @@ clients: # See https://help.aliyun.com/zh/dashscope/ - type: openai-compatible name: qianwen - api_key: sk-xxx api_base: https://dashscope.aliyuncs.com/compatible-mode/v1 + api_key: sk-xxx # See https://platform.moonshot.cn/docs/intro - type: openai-compatible name: moonshot - api_key: sk-xxx api_base: https://api.moonshot.cn/v1 + api_key: sk-xxx # See https://platform.deepseek.com/api-docs/ - type: openai-compatible name: deepseek - api_key: sk-xxx api_base: https://api.deepseek.com + api_key: sk-xxx # See https://open.bigmodel.cn/dev/howuse/introduction - type: openai-compatible name: zhipuai - api_key: xxx api_base: https://open.bigmodel.cn/api/paas/v4 + api_key: xxx # See https://platform.lingyiwanwu.com/docs - type: openai-compatible name: lingyiwanwu - api_key: xxx api_base: https://api.lingyiwanwu.com/v1 + api_key: xxx # See https://deepinfra.com/docs - type: openai-compatible name: deepinfra - api_key: xxx api_base: https://api.deepinfra.com/v1/openai + api_key: xxx # See https://github.com/marketplace/models - type: openai-compatible name: github - api_key: xxx api_base: https://models.inference.ai.azure.com + api_key: xxx # See https://readme.fireworks.ai/docs/quickstart - type: openai-compatible name: fireworks - api_key: xxx api_base: https://api.fireworks.ai/inference/v1 + api_key: xxx # See https://openrouter.ai/docs#quick-start - type: openai-compatible name: openrouter - api_key: xxx api_base: https://openrouter.ai/api/v1 + api_key: xxx # See https://octo.ai/docs/getting-started/quickstart - type: openai-compatible name: octoai - api_key: xxx api_base: https://text.octoai.run/v1 + api_key: xxx # See https://docs.together.ai/docs/quickstart - type: openai-compatible name: together - api_key: xxx api_base: https://api.together.xyz/v1 + api_key: xxx # See https://jina.ai - type: openai-compatible name: jina - api_key: xxx api_base: https://api.jina.ai/v1 + api_key: xxx # See https://docs.voyageai.com/docs/introduction - type: openai-compatible name: voyageai - api_key: xxx api_base: https://api.voyageai.ai/v1 + api_key: xxx |
