openai-agents-python/docs/ja/examples.md
Kazuhiro Sera 5639606163
Docs: Switch to o3 model; exclude translated pages from search (#533)
This pull request introduces the following changes:
1. **Exclude translated pages from search**: I explored ways to make the
search plugin work with the i18n plugin, but it would require extensive
custom JavaScript hacks. So for now, I’m holding off on this work.
2. **Switch from GPT-4.1 to o3 for even better translation quality**:
While 4.1 performs well, o3 shows even greater quality for this task,
and there’s no reason to avoid using it.
2025-04-16 21:29:09 -04:00

45 lines
No EOL
2.4 KiB
Markdown

---
search:
exclude: true
---
# コード例
リポジトリの [examples セクション](https://github.com/openai/openai-agents-python/tree/main/examples) には、 SDK のさまざまなサンプル実装が用意されています。これらの例は、異なるパターンや機能を示す複数のカテゴリーに整理されています。
## カテゴリー
- **[agent_patterns](https://github.com/openai/openai-agents-python/tree/main/examples/agent_patterns):**
このカテゴリーの例では、一般的なエージェント設計パターンを紹介しています。
- 決定論的ワークフロー
- ツールとしてのエージェント
- エージェントの並列実行
- **[basic](https://github.com/openai/openai-agents-python/tree/main/examples/basic):**
SDK の基礎的な機能を示す例です。
- 動的なシステムプロンプト
- ストリーミング出力
- ライフサイクルイベント
- **[tool examples](https://github.com/openai/openai-agents-python/tree/main/examples/tools):**
Web 検索やファイル検索など、 OpenAI がホストするツールの実装方法と、それらをエージェントに統合する方法を学べます。
- **[model providers](https://github.com/openai/openai-agents-python/tree/main/examples/model_providers):**
OpenAI 以外のモデルを SDK で利用する方法を探ります。
- **[handoffs](https://github.com/openai/openai-agents-python/tree/main/examples/handoffs):**
エージェントのハンドオフを実践的に示す例です。
- **[mcp](https://github.com/openai/openai-agents-python/tree/main/examples/mcp):**
MCP を使ったエージェントの構築方法を学べます。
- **[customer_service](https://github.com/openai/openai-agents-python/tree/main/examples/customer_service)** と **[research_bot](https://github.com/openai/openai-agents-python/tree/main/examples/research_bot):**
より実践的なユースケースを示す、拡張された 2 つの例です。
- **customer_service**: 航空会社向けカスタマーサービスシステムの例
- **research_bot**: シンプルなディープリサーチクローン
- **[voice](https://github.com/openai/openai-agents-python/tree/main/examples/voice):**
TTS と STT モデルを用いた音声エージェントの例をご覧ください。