Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

2.1 KB
Raw Blame

The library deletion cascade is now vector-store-provider aware instead of assuming FAISS. No server-backed vector store provider exists yet (FAISS, the only shipping provider, stores its vectors in local files), so this is preparatory hardening rather than a fix for a bug any user could hit today, and FAISS deletions are unchanged. It sets the contract the first server-backed provider (e.g. Milvus) plugs into: deleting a collection, deleting just its index, and force-reindexing it now pass the user's settings snapshot to the cascade, which picks each index's provider (the provider recorded on the index once the model has one, else the configured one) and calls that provider's drop_collection() before the RAGIndex rows are removed, while the index hash needed to address the collection still exists. Deleting the rows first would leave the vectors permanently unaddressable. Such a provider still has to implement drop_collection() (deriving the collection name the same way it does at creation) and read its connection settings from the snapshot. If a drop fails, the operation is aborted and rolled back and reported as failed instead of silently stranding vectors on a remote backend: HTTP 503 with retry guidance when the vector store is unreachable or timed out, HTTP 500 without it for failures a retry cannot fix (misconfiguration, authentication, no drop support). Remote drops are not transactional, so if one of several collections fails after others were already dropped, the error says so; those collections' index records are kept and need a retried delete or a force re-index. The deletion now reads the user's vector-cleanup settings (previously it read none), and that read never writes: it does not seed or commit default settings on the deletion's session. Once a server-backed provider exists, a snapshot that cannot be read aborts the deletion or force re-index instead of silently falling back to the default provider; while only local-file providers (FAISS) are registered, an unreadable snapshot falls back to the defaults and the deletion proceeds. Deleting a collection's index now answers 500 rather than 404 for a failure other than a missing collection.