llama-stack-mirror/docs/source/getting_started
Adam Young 1039c8e7cf docs: Fix incorrect vector_db_id usage in RAG tutorial
The detailed RAG tutorial was using a client-generated `vector_db_id`.
Recent versions of Llama-Stack ignore this ID and assign a new
server-side ID, causing the `rag_tool.insert` call to fail with a
`400 Bad Request` error.

This commit updates the code to capture the authoritative ID from the
`.identifier` attribute of the `register()` method's response object. A
concise comment is also added to explain why this is necessary.

This ensures the tutorial code runs successfully and reflects the current
API behavior related to the deprecation of VectorDB.
2025-09-14 15:10:01 -05:00
..
demo_script.py feat: Updating Rag Tool to use Files API and Vector Stores API (#3344) 2025-09-06 07:26:34 -06:00
detailed_tutorial.md docs: Fix incorrect vector_db_id usage in RAG tutorial 2025-09-14 15:10:01 -05:00
index.md docs: Reorganize documentation on the webpage (#2651) 2025-07-15 14:19:35 -07:00
libraries.md docs: Reorganize documentation on the webpage (#2651) 2025-07-15 14:19:35 -07:00
quickstart.md chore: rename templates to distributions (#3035) 2025-08-04 11:34:17 -07:00