0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ClineでAzure OpenAI Serviceを利用する方法

Posted at

自分用にメモします。

1. Azure OpenAI Serviceのリソースを作成

Azure Portalにログインし、Azure OpenAIを検索します。

image.png

Azure OpenAIリソースを作成します

image.png

これだけでは何もできないので、Azure AI Foundry portalにアクセスします。

image.png

モデルカタログにアクセスします。好きなモデルを選択します。今回はgpt-4oを選択してみます。

image.png

このエンドポイントが大事です。

image.png

2. Clineに設定

image.png

上から説明していきます。

  • API Provider
    • OpenAI Compatibleを選びます
  • Base URL
    • Azure OpenAI Serviceで作成したモデルのエンドポイントをそのままコピペします
  • API Key
    • Azure OpenAI Serviceで作成したモデルのAPI Keyをそのままコピペします
  • Model ID
    • Base URLの文字列中にModel ID(今回であればgpt-4o)があるので、それを入力します。

以上でClineでAzure OpenAI Serviceが動作します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?