diff options
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/config.example.yaml b/config.example.yaml index 32e7f83..d536998 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -124,6 +124,7 @@ clients: # See https://ai.google.dev/docs - type: gemini api_key: xxx + api_base: https://generativelanguage.googleapis.com/v1beta # Optional patch: chat_completions: '.*': @@ -141,6 +142,7 @@ 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 # See https://docs.mistral.ai/ - type: openai-compatible @@ -151,18 +153,19 @@ clients: # See https://docs.cohere.com/docs/the-cohere-platform - type: cohere api_key: xxx + api_base: https://api.cohere.ai/v1 # Optional # See https://docs.perplexity.ai/docs/getting-started - type: openai-compatible name: perplexity - api_base: https://api.perplexity.ai api_key: pplx-xxx + api_base: https://api.perplexity.ai # See https://console.groq.com/docs/quickstart - type: openai-compatible name: groq - api_base: https://api.groq.com/openai/v1 api_key: gsk_xxx + api_base: https://api.groq.com/openai/v1 # See https://github.com/jmorganca/ollama - type: ollama @@ -179,8 +182,8 @@ clients: # See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart - type: azure-openai - api_base: https://{RESOURCE}.openai.azure.com api_key: xxx + api_base: https://{RESOURCE}.openai.azure.com models: - name: gpt-4o # Model deployment name max_input_tokens: 128000 @@ -219,6 +222,7 @@ clients: - type: cloudflare account_id: xxx api_key: xxx + api_base: https://api.cloudflare.com/client/v4 # Optional # See https://replicate.com/docs - type: replicate @@ -232,66 +236,70 @@ clients: # See https://help.aliyun.com/zh/dashscope/ - type: qianwen api_key: sk-xxx + api_base: https://dashscope.aliyuncs.com/api/v1 # Optional # See https://platform.moonshot.cn/docs/intro - type: openai-compatible name: moonshot - api_base: https://api.moonshot.cn/v1 api_key: sk-xxx + api_base: https://api.moonshot.cn/v1 # See https://platform.deepseek.com/api-docs/ - type: openai-compatible name: deepseek api_key: sk-xxx + api_base: https://api.deepseek.com # 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 # See https://platform.lingyiwanwu.com/docs - type: openai-compatible name: lingyiwanwu api_key: xxx + api_base: https://api.lingyiwanwu.com/v1 # See https://deepinfra.com/docs - type: openai-compatible name: deepinfra - api_base: https://api.deepinfra.com/v1/openai api_key: xxx + api_base: https://api.deepinfra.com/v1/openai # See https://readme.fireworks.ai/docs/quickstart - type: openai-compatible name: fireworks - api_base: https://api.fireworks.ai/inference/v1 api_key: xxx + api_base: https://api.fireworks.ai/inference/v1 # See https://openrouter.ai/docs#quick-start - type: openai-compatible name: openrouter - api_base: https://openrouter.ai/api/v1 api_key: xxx + api_base: https://openrouter.ai/api/v1 # See https://octo.ai/docs/getting-started/quickstart - type: openai-compatible name: octoai - api_base: https://text.octoai.run/v1 api_key: xxx + api_base: https://text.octoai.run/v1 # See https://docs.together.ai/docs/quickstart - type: openai-compatible name: together - api_base: https://api.together.xyz/v1 api_key: xxx + api_base: https://api.together.xyz/v1 # See https://jina.ai - type: openai-compatible name: jina - api_base: https://api.jina.ai/v1 api_key: xxx + api_base: https://api.jina.ai/v1 # 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
\ No newline at end of file |
