mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +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. |
||
---|---|---|
.. | ||
advanced_apis | ||
apis | ||
building_applications | ||
concepts | ||
contributing | ||
deploying | ||
distributions | ||
getting_started | ||
providers | ||
references | ||
conf.py | ||
index.md |