llama-stack-mirror/llama_stack/providers/inline/tool_runtime/rag
skamenan7 a14f79a362 fix(vector-io): handle missing document_id in insert_chunks
Fixed KeyError when chunks don't have document_id in metadata or chunk_metadata.
Updated logging to safely extract document_id using getattr and RAG memory
to handle different document_id locations. Added test for missing document_id scenarios.

Fixes issue #3494 where /v1/vector-io/insert would crash with KeyError.
2025-09-25 13:59:10 -04:00
..
__init__.py feat: Updating Rag Tool to use Files API and Vector Stores API (#3344) 2025-09-06 07:26:34 -06:00
config.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
context_retriever.py chore: Updating documentation, adding exception handling for Vector Stores in RAG Tool, more tests on migration, and migrate off of inference_api for context_retriever for RAG (#3367) 2025-09-11 14:20:11 +02:00
memory.py fix(vector-io): handle missing document_id in insert_chunks 2025-09-25 13:59:10 -04:00