@@ -4,104 +4,104 @@ 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
1414 - 決定論的ワークフロー
1515 - Agents as tools
1616 - エージェントの並列実行
1717 - 条件付きツール使用
18- - 入出力ガードレール
18+ - 入力/出力ガードレール
1919 - 審判としての LLM
2020 - ルーティング
2121 - ストリーミングガードレール
2222 - 承認フロー向けのカスタム拒否メッセージ (` examples/agent_patterns/human_in_the_loop_custom_rejection.py ` )
2323
2424- ** [ basic] ( https://github.com/openai/openai-agents-python/tree/main/examples/basic ) :**
25- これらのコード例では、 SDK の基本的な機能を紹介しています。たとえば次のとおりです。
25+ これらのコード例では、 SDK の基礎的な機能を紹介しています。例:
2626
27- - Hello World のコード例 (デフォルトモデル、 GPT-5、オープンウェイトモデル )
27+ - Hello world のコード例 (デフォルトモデル、 GPT-5 、 open-weight モデル )
2828 - エージェントライフサイクル管理
2929 - 動的システムプロンプト
3030 - ストリーミング出力 (テキスト、項目、関数呼び出し引数)
31- - ターン間で共有セッションヘルパーを使用する Responses websocket transport (` examples/basic/stream_ws.py ` )
31+ - ターン間で共有セッションヘルパーを使う Responses websocket トランスポート (` examples/basic/stream_ws.py ` )
3232 - プロンプトテンプレート
33- - ファイル処理 (ローカルおよびリモート、画像および PDF)
33+ - ファイル処理 (ローカル/リモート、画像/ PDF)
3434 - 使用状況トラッキング
35- - Runner 管理の再試行設定 (` examples/basic/retry.py ` )
36- - LiteLLM を使用した Runner 管理の再試行 (` examples/basic/retry_litellm.py ` )
35+ - Runner 管理のリトライ設定 (` examples/basic/retry.py ` )
36+ - サードパーティアダプターを介した Runner 管理のリトライ (` examples/basic/retry_litellm.py ` )
3737 - 非 strict な出力型
38- - 以前のレスポンス ID の使用
38+ - 前回レスポンス ID の使用
3939
4040- ** [ customer_service] ( https://github.com/openai/openai-agents-python/tree/main/examples/customer_service ) :**
4141 航空会社向けのカスタマーサービスシステムのコード例です。
4242
4343- ** [ financial_research_agent] ( https://github.com/openai/openai-agents-python/tree/main/examples/financial_research_agent ) :**
44- 金融データ分析向けに、エージェントとツールを使った構造化リサーチワークフローを示す金融リサーチエージェントです 。
44+ 金融データ分析のためのエージェントとツールを使った構造化リサーチワークフローを示す、金融リサーチエージェントです 。
4545
4646- ** [ handoffs] ( https://github.com/openai/openai-agents-python/tree/main/examples/handoffs ) :**
47- メッセージフィルタリングを使ったエージェントハンドオフの実践的なコード例をご覧ください 。
47+ メッセージフィルタリングを伴うエージェントハンドオフの実践的なコード例をご覧ください 。
4848
4949- ** [ hosted_mcp] ( https://github.com/openai/openai-agents-python/tree/main/examples/hosted_mcp ) :**
50- ホストされた MCP (Model context protocol) コネクタと承認の使い方を示すコード例です 。
50+ hosted MCP (Model Context Protocol) コネクターと承認の使い方を示すコード例です 。
5151
5252- ** [ mcp] ( https://github.com/openai/openai-agents-python/tree/main/examples/mcp ) :**
53- MCP (Model context protocol ) を使ってエージェントを構築する方法を学べます。内容は次のとおりです。
53+ MCP (Model Context Protocol ) を使ってエージェントを構築する方法を学べます。内容:
5454
5555 - ファイルシステムのコード例
5656 - Git のコード例
5757 - MCP プロンプトサーバーのコード例
5858 - SSE (Server-Sent Events) のコード例
59- - ストリーム可能な HTTP のコード例
59+ - ストリーミング可能な HTTP のコード例
6060
6161- ** [ memory] ( https://github.com/openai/openai-agents-python/tree/main/examples/memory ) :**
62- エージェント向けのさまざまなメモリ実装のコード例です。内容は次のとおりです。
62+ エージェント向けのさまざまなメモリ実装のコード例です。内容:
6363
6464 - SQLite セッションストレージ
6565 - 高度な SQLite セッションストレージ
6666 - Redis セッションストレージ
6767 - SQLAlchemy セッションストレージ
68- - Dapr state store セッションストレージ
68+ - Dapr ステートストアセッションストレージ
6969 - 暗号化セッションストレージ
7070 - OpenAI Conversations セッションストレージ
7171 - Responses compaction セッションストレージ
7272 - ` ModelSettings(store=False) ` を使ったステートレスな Responses compaction (` examples/memory/compaction_session_stateless_example.py ` )
7373
7474- ** [ model_providers] ( https://github.com/openai/openai-agents-python/tree/main/examples/model_providers ) :**
75- カスタムプロバイダーや LiteLLM 統合を含め 、 SDK で非 OpenAI モデルを使う方法を確認できます。
75+ カスタムプロバイダーやサードパーティアダプターを含め 、 SDK で非 OpenAI モデルを使う方法を確認できます。
7676
7777- ** [ realtime] ( https://github.com/openai/openai-agents-python/tree/main/examples/realtime ) :**
78- SDK を使用してリアルタイム体験を構築する方法を示すコード例です。内容は次のとおりです。
78+ SDK を使ってリアルタイム体験を構築する方法を示すコード例です。内容:
7979
80- - 構造化テキストと画像メッセージを使う Web アプリケーションパターン
80+ - 構造化テキストおよび画像メッセージを使った Web アプリケーションパターン
8181 - コマンドライン音声ループと再生処理
8282 - WebSocket 経由の Twilio Media Streams 統合
83- - Realtime Calls API のアタッチフローを使う Twilio SIP 統合
83+ - Realtime Calls API attach フローを使用した Twilio SIP 統合
8484
8585- ** [ reasoning_content] ( https://github.com/openai/openai-agents-python/tree/main/examples/reasoning_content ) :**
8686 reasoning content と structured outputs の扱い方を示すコード例です。
8787
8888- ** [ research_bot] ( https://github.com/openai/openai-agents-python/tree/main/examples/research_bot ) :**
89- 複雑なマルチエージェントのリサーチワークフローを示す 、シンプルなディープリサーチクローンです。
89+ 複雑なマルチエージェントのディープリサーチワークフローを示す 、シンプルなディープリサーチクローンです。
9090
9191- ** [ tools] ( https://github.com/openai/openai-agents-python/tree/main/examples/tools ) :**
92- 次のような OpenAI がホストするツールと実験的な Codex ツール機能の実装方法を学べます。
92+ OpenAI がホストするツールと、次のような実験的な Codex ツール機能の実装方法を学べます。
9393
9494 - Web 検索 とフィルター付き Web 検索
9595 - ファイル検索
9696 - Code Interpreter
97- - インラインスキル付きホストコンテナーシェル (` examples/tools/container_shell_inline_skill.py ` )
98- - スキル参照付きホストコンテナーシェル (` examples/tools/container_shell_skill_reference.py ` )
99- - ローカルスキル付きローカルシェル (` examples/tools/local_shell_skill.py ` )
97+ - インラインスキル付き hosted container shell (` examples/tools/container_shell_inline_skill.py ` )
98+ - スキル参照付き hosted container shell (` examples/tools/container_shell_skill_reference.py ` )
99+ - ローカルスキル付きローカル shell (` examples/tools/local_shell_skill.py ` )
100100 - 名前空間と遅延ツールを使ったツール検索 (` examples/tools/tool_search.py ` )
101101 - コンピュータ操作
102102 - 画像生成
103103 - 実験的な Codex ツールワークフロー (` examples/tools/codex.py ` )
104104 - 実験的な Codex 同一スレッドワークフロー (` examples/tools/codex_same_thread.py ` )
105105
106106- ** [ voice] ( https://github.com/openai/openai-agents-python/tree/main/examples/voice ) :**
107- ストリーミング音声のコード例を含む、 TTS および STT モデルを使用した音声エージェントのコード例をご覧ください。
107+ ストリーミング音声のコード例を含む、 TTS / STT モデルを使用した音声エージェントのコード例をご覧ください。
0 commit comments