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

2.4 KiB

search
exclude
true

コード例

リポジトリの examples セクション には、 SDK のさまざまなサンプル実装が用意されています。これらの例は、異なるパターンや機能を示す複数のカテゴリーに整理されています。

カテゴリー

  • agent_patterns:
    このカテゴリーの例では、一般的なエージェント設計パターンを紹介しています。

    • 決定論的ワークフロー
    • ツールとしてのエージェント
    • エージェントの並列実行
  • basic:
    SDK の基礎的な機能を示す例です。

    • 動的なシステムプロンプト
    • ストリーミング出力
    • ライフサイクルイベント
  • tool examples:
    Web 検索やファイル検索など、 OpenAI がホストするツールの実装方法と、それらをエージェントに統合する方法を学べます。

  • model providers:
    OpenAI 以外のモデルを SDK で利用する方法を探ります。

  • handoffs:
    エージェントのハンドオフを実践的に示す例です。

  • mcp:
    MCP を使ったエージェントの構築方法を学べます。

  • customer_serviceresearch_bot:
    より実践的なユースケースを示す、拡張された 2 つの例です。

    • customer_service: 航空会社向けカスタマーサービスシステムの例
    • research_bot: シンプルなディープリサーチクローン
  • voice:
    TTS と STT モデルを用いた音声エージェントの例をご覧ください。