Stupid Vector Store (SVS): a vector database for the rest of us
Project description
Stupid Vector Store (SVS)
-
💩 Why is it stupid?
-
🧠 Is it possibly... smart in any way though?
- Maybe.
- It will squeeze the most juice from your machine: 🍊
- Optimized SQL
- Cache-friendly memory access
- Fast in the places that matter 🚀
- All with a simple Python interface
Overview
SVS is stupid yet can handle a million documents on commodity hardware, so it's probably perfect for you.
Should you use SVS? SVS is designed for the use-case where:
- you have less than a million documents, and
- you don't add/remove documents very often.
If that's you, then SVS will probably be the simples (and stupidest) way to manage your document vectors!
Table of Contents
Installation
pip install -U svs
Used By
SVS is used in production by:
Quickstart
TODO
Debug Logging
This library logs using Python's builtin logging
module. It logs mostly to INFO
, so here's a snippet of code you can put in your app to see those traces:
import logging
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
)
# ... now use SVS as you normally would, but you'll see extra log traces!
License
svs
is distributed under the terms of the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.