メインコンテンツまでスキップ
バージョン: 21 R3 BETA

プロバイダ

多くのAI プロバイダがOpenAI に似たAPI を提供しているので、このプロジェクトを使用してそれらに接続することができます。

そのためには元の baseURL をプロバイダーのものに設定し、必要であればそのサービスのAPI キーを使用するだけです。

$client.baseURL:="https://api.mistral.ai/v1"

一部の例

リモート

プロバイダbaseURL
https://mistral.ai/ja/https://api.mistral.ai/v1/ja
https://www.deepseek.com/ja/https://api.deepseek.com/ja
https://www.anthropic.com/ (claude)https://api.anthropic.com/v1/ja
https://docs.api.nvidia.com/ja/https://integrate.api.nvidia.com/v1/ja
https://gemini.google.com/ja/https://generativelanguage.googleapis.com/v1beta/openai
https://groq.com/ja/https://api.groq.com/openai/v1/ja
https://ai.azure.com/ja/https://YOUR_RESOURCE_NAME.openai.azure.com
https://www.alibabacloud.com/ (qwen)https://dashscope-intl.aliyuncs.com/compatible-mode/v1
https://www.perplexity.ai/ja/https://api.perplexity.ai/ja
https://x.ai/https://api.x.ai/v1/ja
https://z.ai/https://api.z.ai/api/coding/paas/v4
http://cohere.com/ja/https://api.cohere.ai/compatibility/v1

ローカル

プロバイダデフォルトの baseURLドキュメント
https://ollama.com/ja/http://127.0.0.1:11434/v1https://ollama.com/blog/openai-compatibility
https://lmstudio.ai/ja/http://localhost:1234/v1https://lmstudio.ai/docs/api/endpoints/openai
https://localai.io/ja/http://127.0.0.1:8080
llama.cpphttp://localhost:8080/v1/llama-server