llama-stack-mirror/llama_stack/providers/inline/vector_io
Ben Browning a5ebac18bd Add a helpful error message when Fails fails to load indexes
We've had a few cases recently where Faiss is unable to load its
indexes properly, like after users upgrade versions of Llama Stack or
numpy dependencies. This catches any exceptions when deserializing the
index with an error message about what likely went wrong and how to
potentially fix it so that users can attempt to fix this without
needing to raise an issue or being confused.

The most common case of new users hitting this will be with the
SqliteKVStoreImpl, since that's our local storage most people use when
testing out Llama Stack. So, I added a `__str__` method to it that
shows the proper path and table name that users need to potentially
delete to resolve this error.

Signed-off-by: Ben Browning <bbrownin@redhat.com>
2025-06-27 14:16:05 -04:00
..
chroma chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
faiss Add a helpful error message when Fails fails to load indexes 2025-06-27 14:16:05 -04:00
milvus chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
qdrant refactor(env)!: enhanced environment variable substitution (#2490) 2025-06-26 08:20:08 +05:30
sqlite_vec refactor(env)!: enhanced environment variable substitution (#2490) 2025-06-26 08:20:08 +05:30
__init__.py [memory refactor][1/n] Rename Memory -> VectorIO, MemoryBanks -> VectorDBs (#828) 2025-01-22 09:59:30 -08:00