mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
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. |
||
---|---|---|
.. | ||
demo_script.py | ||
detailed_tutorial.md | ||
index.md | ||
libraries.md | ||
quickstart.md |