@@ -4,96 +4,98 @@ search:
44---
55# コード例
66
7- [ repo] ( https://github.com/openai/openai-agents-python/tree/main/examples ) の examples セクションで、 SDK のさまざまなサンプル実装をご覧ください。 examples は、異なるパターンと機能を示すいくつかのカテゴリーに整理されています 。
7+ [ repo] ( https://github.com/openai/openai-agents-python/tree/main/examples ) の examples セクションで、 SDK のさまざまなサンプル実装をご覧ください。examples は、異なるパターンや機能を示す複数のカテゴリーに整理されています 。
88
99## カテゴリー
1010
1111- ** [ agent_patterns] ( https://github.com/openai/openai-agents-python/tree/main/examples/agent_patterns ) :**
12- このカテゴリーの例は、次のような一般的な エージェント 設計パターンを示します 。
12+ このカテゴリーのコード例では、次のような一般的なエージェント設計パターンを紹介します 。
1313
14- - 決定的なワークフロー
14+ - 決定論的ワークフロー
1515 - Agents as tools
16- - 並列 エージェント 実行
16+ - エージェントの並列実行
1717 - 条件付きツール使用
18- - 入出力 ガードレール
18+ - 入出力ガードレール
1919 - 判定者としての LLM
2020 - ルーティング
21- - ストリーミング ガードレール
21+ - ストリーミングガードレール
2222
2323- ** [ basic] ( https://github.com/openai/openai-agents-python/tree/main/examples/basic ) :**
24- これらの例は 、次のような SDK の基礎的な機能を紹介します 。
24+ これらのコード例では 、次のような SDK の基本機能を紹介します 。
2525
26- - Hello World の例 (Default model 、 GPT-5、 open-weight model)
27- - エージェント のライフサイクル管理
28- - 動的な システムプロンプト
29- - ストリーミング 出力 (text、 items、 function call args)
30- - ターンをまたいで共有セッションヘルパーを使う Responses websocket transport ( ` examples/basic/stream_ws.py ` )
26+ - Hello world のコード例(デフォルトモデル 、 GPT-5、 open-weight モデル)
27+ - エージェントのライフサイクル管理
28+ - 動的システムプロンプト
29+ - ストリーミング出力(テキスト、項目、関数呼び出し引数)
30+ - ターンをまたいで共有セッションヘルパーを使用する Responses websocket transport( ` examples/basic/stream_ws.py ` )
3131 - プロンプトテンプレート
32- - ファイル処理 (ローカルとリモート、画像と PDF)
33- - 使用状況トラッキング
32+ - ファイル処理(ローカルおよびリモート、画像および PDF)
33+ - 使用状況のトラッキング
3434 - 非 strict な出力型
35- - 以前の response ID の使用
35+ - 以前の response ID の利用
3636
3737- ** [ customer_service] ( https://github.com/openai/openai-agents-python/tree/main/examples/customer_service ) :**
38- 航空会社向けのカスタマーサービスシステム例です 。
38+ 航空会社向けのカスタマーサービスシステムのコード例です 。
3939
4040- ** [ financial_research_agent] ( https://github.com/openai/openai-agents-python/tree/main/examples/financial_research_agent ) :**
41- 金融データ分析のための エージェント とツールを用いた、構造化されたリサーチワークフローを示す金融リサーチ エージェント です 。
41+ 金融データ分析のためのエージェントとツールを用いた、構造化された調査ワークフローを示す金融調査エージェントです 。
4242
4343- ** [ handoffs] ( https://github.com/openai/openai-agents-python/tree/main/examples/handoffs ) :**
44- メッセージフィルタリングを伴う エージェント の ハンドオフ の実践例をご覧ください 。
44+ メッセージフィルタリングを使ったエージェントのハンドオフの実践的なコード例をご覧ください 。
4545
4646- ** [ hosted_mcp] ( https://github.com/openai/openai-agents-python/tree/main/examples/hosted_mcp ) :**
47- hosted MCP ( Model context protocol) コネクターと承認の使い方を示す例です 。
47+ ホスト型 MCP( Model Context Protocol)コネクタと承認の使い方を示すコード例です 。
4848
4949- ** [ mcp] ( https://github.com/openai/openai-agents-python/tree/main/examples/mcp ) :**
50- 次を含め、 MCP ( Model context protocol) を用いた エージェント の構築方法を学びます 。
50+ MCP( Model Context Protocol)を使ってエージェントを構築する方法を学べます。内容は以下を含みます 。
5151
52- - ファイルシステムの例
53- - Git の例
54- - MCP プロンプトサーバーの例
55- - SSE ( Server-Sent Events) の例
56- - ストリーム可能な HTTP の例
52+ - Filesystem のコード例
53+ - Git のコード例
54+ - MCP prompt server のコード例
55+ - SSE( Server-Sent Events)のコード例
56+ - Streamable HTTP のコード例
5757
5858- ** [ memory] ( https://github.com/openai/openai-agents-python/tree/main/examples/memory ) :**
59- 次を含む、 エージェント 向けのさまざまなメモリ実装の例です 。
59+ エージェント向けのさまざまなメモリ実装のコード例です。以下を含みます 。
6060
6161 - SQLite セッションストレージ
6262 - 高度な SQLite セッションストレージ
6363 - Redis セッションストレージ
6464 - SQLAlchemy セッションストレージ
65- - 暗号化されたセッションストレージ
66- - OpenAI セッションストレージ
65+ - Dapr state store セッションストレージ
66+ - 暗号化セッションストレージ
67+ - OpenAI Conversations セッションストレージ
68+ - Responses compaction セッションストレージ
6769
6870- ** [ model_providers] ( https://github.com/openai/openai-agents-python/tree/main/examples/model_providers ) :**
69- カスタムプロバイダーや LiteLLM 連携を含め 、 SDK で非 OpenAI モデルを使用する方法を確認します 。
71+ カスタムプロバイダーや LiteLLM 統合を含め 、 SDK で OpenAI 以外のモデルを使う方法を確認できます 。
7072
7173- ** [ realtime] ( https://github.com/openai/openai-agents-python/tree/main/examples/realtime ) :**
72- 次を含め、 SDK を使ってリアルタイム体験を構築する方法を示す例です 。
74+ SDK を使ってリアルタイム体験を構築する方法を示すコード例です。以下を含みます 。
7375
7476 - Web アプリケーション
7577 - コマンドラインインターフェース
76- - Twilio 連携
77- - Twilio SIP 連携
78+ - Twilio 統合
79+ - Twilio SIP 統合
7880
7981- ** [ reasoning_content] ( https://github.com/openai/openai-agents-python/tree/main/examples/reasoning_content ) :**
80- reasoning content と structured outputs の扱い方を示す例です 。
82+ reasoning content と structured outputs を扱う方法を示すコード例です 。
8183
8284- ** [ research_bot] ( https://github.com/openai/openai-agents-python/tree/main/examples/research_bot ) :**
83- 複雑なマルチ エージェント のリサーチワークフローを示す、シンプルな ディープリサーチ クローンです 。
85+ 複雑なマルチエージェント調査ワークフローを示す、シンプルなディープリサーチクローンです 。
8486
8587- ** [ tools] ( https://github.com/openai/openai-agents-python/tree/main/examples/tools ) :**
86- 次を含む OpenAI がホストするツール と、実験的な Codex ツール機能の実装方法を学びます 。
88+ OpenAI がホストするツールや、次のような実験的な Codex ツール機能を実装する方法を学べます 。
8789
88- - Web 検索 とフィルター付き Web 検索
90+ - Web 検索 およびフィルター付き Web 検索
8991 - ファイル検索
9092 - Code Interpreter
91- - インラインスキル付き hosted container shell ( ` examples/tools/container_shell_inline_skill.py ` )
92- - スキル参照付き hosted container shell ( ` examples/tools/container_shell_skill_reference.py ` )
93+ - インラインスキル付きホスト型コンテナシェル( ` examples/tools/container_shell_inline_skill.py ` )
94+ - スキル参照付きホスト型コンテナシェル( ` examples/tools/container_shell_skill_reference.py ` )
9395 - コンピュータ操作
9496 - 画像生成
95- - 実験的な Codex ツールのワークフロー ( ` examples/tools/codex.py ` )
96- - 実験的な Codex の同一スレッドワークフロー ( ` examples/tools/codex_same_thread.py ` )
97+ - 実験的な Codex ツールワークフロー( ` examples/tools/codex.py ` )
98+ - 実験的な Codex 同一スレッドワークフロー( ` examples/tools/codex_same_thread.py ` )
9799
98100- ** [ voice] ( https://github.com/openai/openai-agents-python/tree/main/examples/voice ) :**
99- ストリーミング音声の例を含め、当社の TTS および STT モデルを使用する音声 エージェント の例をご覧ください 。
101+ ストリーミング音声のコード例を含む、 TTS および STT モデルを使った音声エージェントのコード例をご覧ください 。
0 commit comments