Skip to content

Commit 741b315

Browse files
author
Kyle Zheng
committed
added better comments explaining networking
1 parent bd67c87 commit 741b315

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

examples/nvingest_mcp/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ document_ingest_vdb:
241241
extract_images: false
242242
```
243243
244+
> **Note on Embedding URLs:** The configs use different embedding URLs because of Docker networking:
245+
> - `document_ingest_vdb` uses `http://embedding:8000/v1` - NV-Ingest runs inside Docker and reaches the embedding service via Docker's internal network
246+
> - `semantic_search` uses `http://localhost:8012/v1` - runs on the host machine and reaches the embedding service via the exposed port
247+
244248
### Configuration Reference
245249

246250
#### Direct Mode (`nvingest_agent_direct.yml`)
@@ -253,13 +257,13 @@ functions:
253257
nvingest_port: 7670
254258
milvus_uri: http://localhost:19530
255259
collection_name: nv_ingest_collection
256-
embedding_url: http://embedding:8000/v1
260+
embedding_url: http://embedding:8000/v1 # Docker internal network
257261
embedding_model: nvidia/llama-3.2-nv-embedqa-1b-v2
258262
259263
semantic_search:
260264
_type: milvus_semantic_search
261265
milvus_uri: http://localhost:19530
262-
embedding_url: http://localhost:8012/v1
266+
embedding_url: http://localhost:8012/v1 # Host machine access
263267
embedding_model: nvidia/llama-3.2-nv-embedqa-1b-v2
264268
265269
workflow:

0 commit comments

Comments
 (0)