You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
標準で Agents SDK は Responses API または Chat Completions API を通じて OpenAI モデルと動作します。ただし、他のモデルを使いたい場合は、[Vercel の AI SDK](https://sdk.vercel.ai/)がこのアダプター経由で Agents SDK に組み込める多数の対応モデルを提供します。
16
+
Agents SDKは標準で Responses API または Chat Completions API を通じてOpenAIのモデルと連携します。ただし、別のモデルを使いたい場合は、[Vercel の AI SDK](https://sdk.vercel.ai/)が提供する多数の対応モデルをこのアダプター経由で Agents SDKに組み込めます。
17
17
18
18
## セットアップ
19
19
@@ -25,13 +25,13 @@ import aiSdkSetupExample from '../../../../../../examples/docs/extensions/ai-sdk
25
25
npm install @openai/agents-extensions
26
26
```
27
27
28
-
2.[Vercel の AI SDK](https://sdk.vercel.ai/docs/models/overview)から目的のモデルパッケージを選び、インストールします:
28
+
2.[Vercel の AI SDK](https://sdk.vercel.ai/docs/models/overview)から目的のモデルパッケージを選んでインストールします:
29
29
30
30
```bash
31
31
npm install @ai-sdk/openai@"^1.0.0"
32
32
```
33
33
34
-
3.アダプターとモデルをインポートして、エージェントに接続します:
34
+
3.アダプターとモデルをインポートしてエージェントに接続します:
35
35
36
36
```typescript
37
37
import { openai } from'@ai-sdk/openai';
@@ -47,18 +47,22 @@ import aiSdkSetupExample from '../../../../../../examples/docs/extensions/ai-sdk
47
47
</Steps>
48
48
49
49
<Asidetype="caution">
50
-
Vercel の AI SDK は最近 v2 に移行しましたが、openai agent extensions はまだ
0 commit comments