Skip to content

Commit f50e508

Browse files
Copilotks6088ts
andcommitted
Complete documentation updates with LLM wrappers and scripts
Co-authored-by: ks6088ts <[email protected]>
1 parent ff76bcd commit f50e508

File tree

2 files changed

+46
-4
lines changed

2 files changed

+46
-4
lines changed

docs/index.ja.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,20 @@ uv run python scripts/elasticsearch_operator.py create-index \
8383
--verbose
8484
```
8585

86+
**任意: 追加データソースの設定:**
87+
88+
```shell
89+
# Azure AI Search
90+
make create-ai-search-index
91+
92+
# Azure Cosmos DB
93+
make create-cosmosdb-index
94+
95+
# またはオペレータースクリプトを直接使用:
96+
# uv run python scripts/ai_search_operator.py add-documents --verbose
97+
# uv run python scripts/cosmosdb_operator.py add-documents --verbose
98+
```
99+
86100
## プロジェクト構造
87101

88102
### コアコンポーネント
@@ -93,7 +107,9 @@ uv run python scripts/elasticsearch_operator.py create-index \
93107
- **`scripts/`** - エージェント実行用コマンドラインツール
94108
- `agent_operator.py` - プロダクションエージェント用メインランナー
95109
- `demo_agents_operator.py` - シンプルなデモエージェント用ランナー
96-
- データ管理用各種オペレータースクリプト(`qdrant_operator.py``elasticsearch_operator.py` など)
110+
- データベース/検索オペレーター(`qdrant_operator.py``elasticsearch_operator.py``ai_search_operator.py``cosmosdb_operator.py`
111+
- LLM テストオペレーター(`azure_openai_operator.py``azure_ai_foundry_operator.py``ollama_operator.py`
112+
- その他ユーティリティ(`dify_operator.py``otel_operator.py`
97113

98114
### エージェントの例(`template_langgraph/agents/`
99115

@@ -117,7 +133,7 @@ uv run python scripts/elasticsearch_operator.py create-index \
117133

118134
### サポートモジュール
119135

120-
- `template_langgraph/llms/`: LLM ラッパー(Azure OpenAI など
136+
- `template_langgraph/llms/`: LLM ラッパー(Azure OpenAI、Azure AI Foundry、Ollama
121137
- `template_langgraph/tools/`: ツール実装
122138
- Azure AI Search(`ai_search_tool.py`
123139
- Azure Cosmos DB Vector Search(`cosmosdb_tool.py`
@@ -328,6 +344,11 @@ LangGraph が複数のインタラクションステップにわたってコン
328344
- `AZURE_OPENAI_ENDPOINT`, `AZURE_OPENAI_API_KEY`, `AZURE_OPENAI_API_VERSION`
329345
- `AZURE_OPENAI_MODEL_CHAT`, `AZURE_OPENAI_MODEL_EMBEDDING`, `AZURE_OPENAI_MODEL_REASONING`
330346
- Entra ID 認証の任意設定: `AZURE_OPENAI_USE_MICROSOFT_ENTRA_ID=true`
347+
- Azure AI Foundry
348+
- `AZURE_AI_FOUNDRY_INFERENCE_ENDPOINT`, `AZURE_AI_FOUNDRY_INFERENCE_API_VERSION`
349+
- `AZURE_AI_FOUNDRY_INFERENCE_MODEL_CHAT`
350+
- Ollama(ローカル)
351+
- `OLLAMA_MODEL_CHAT`
331352
- Azure AI Search
332353
- `AI_SEARCH_ENDPOINT`, `AI_SEARCH_KEY`, `AI_SEARCH_INDEX_NAME`
333354
- Azure Cosmos DB(ベクター)

docs/index.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,20 @@ uv run python scripts/elasticsearch_operator.py create-index \
8383
--verbose
8484
```
8585

86+
**Optional: Set up additional data sources:**
87+
88+
```shell
89+
# Azure AI Search
90+
make create-ai-search-index
91+
92+
# Azure Cosmos DB
93+
make create-cosmosdb-index
94+
95+
# Or use the operator scripts directly:
96+
# uv run python scripts/ai_search_operator.py add-documents --verbose
97+
# uv run python scripts/cosmosdb_operator.py add-documents --verbose
98+
```
99+
86100
## Project Structure
87101

88102
### Core Components
@@ -93,7 +107,9 @@ uv run python scripts/elasticsearch_operator.py create-index \
93107
- **`scripts/`** - Command-line tools for running agents
94108
- `agent_operator.py` - Main agent runner for production agents
95109
- `demo_agents_operator.py` - Runner for simple demo agents
96-
- Various operator scripts for data management (`qdrant_operator.py`, `elasticsearch_operator.py`, etc.)
110+
- Database/search operators (`qdrant_operator.py`, `elasticsearch_operator.py`, `ai_search_operator.py`, `cosmosdb_operator.py`)
111+
- LLM testing operators (`azure_openai_operator.py`, `azure_ai_foundry_operator.py`, `ollama_operator.py`)
112+
- Other utilities (`dify_operator.py`, `otel_operator.py`)
97113

98114
### Agent Examples (`template_langgraph/agents/`)
99115

@@ -117,7 +133,7 @@ Additional simple agents for learning and demonstration:
117133

118134
### Supporting Modules
119135

120-
- `template_langgraph/llms/`: LLM wrappers (Azure OpenAI, etc.)
136+
- `template_langgraph/llms/`: LLM wrappers (Azure OpenAI, Azure AI Foundry, Ollama)
121137
- `template_langgraph/tools/`: Tool implementations used by agents
122138
- Azure AI Search (`ai_search_tool.py`)
123139
- Azure Cosmos DB Vector Search (`cosmosdb_tool.py`)
@@ -328,6 +344,11 @@ The default toolset is configured in `template_langgraph/tools/common.py` and in
328344
- `AZURE_OPENAI_ENDPOINT`, `AZURE_OPENAI_API_KEY`, `AZURE_OPENAI_API_VERSION`
329345
- `AZURE_OPENAI_MODEL_CHAT`, `AZURE_OPENAI_MODEL_EMBEDDING`, `AZURE_OPENAI_MODEL_REASONING`
330346
- Optional Entra ID auth: `AZURE_OPENAI_USE_MICROSOFT_ENTRA_ID=true`
347+
- Azure AI Foundry
348+
- `AZURE_AI_FOUNDRY_INFERENCE_ENDPOINT`, `AZURE_AI_FOUNDRY_INFERENCE_API_VERSION`
349+
- `AZURE_AI_FOUNDRY_INFERENCE_MODEL_CHAT`
350+
- Ollama (local)
351+
- `OLLAMA_MODEL_CHAT`
331352
- Azure AI Search
332353
- `AI_SEARCH_ENDPOINT`, `AI_SEARCH_KEY`, `AI_SEARCH_INDEX_NAME`
333354
- Azure Cosmos DB (vector)

0 commit comments

Comments
 (0)