An in-memory vector store for semantic data storage and retrieval
Project description
SemanticStore
A simple easy to use vector store for small hobby projects.
A versatile vector store designed for multimodal search. This store seamlessly integrates with Faiss to provide efficient similarity search capabilities. Whether you're working with image, text, or audio data, SemanticStore has you covered.
Features
- Multimodal Support: Handle a wide range of data types, including image, text, and audio vectors.
- Faiss Integration: Utilize the speed and efficiency of Faiss for similarity search.
- Custom Pipelines: Create customizable pipelines for processing and indexing your data.
- Ease of Use: Designed for simplicity, making it accessible to developers of all levels.
Getting Started
Follow these steps to get started with the SemanticStore:
-
Install into environment
pip install semantic-store
-
Install requirements
Will try to package CLIP in next release version
pip install git+https://github.com/openai/CLIP.git
-
Get started in python
from SemanticStore import Store store = Store() store.connect('semantic.db') store.insert('gita.txt') store.commit() res = store.search("what is meaning of life according to gita ?", 5, modals=['text', 'image']) print(res)
Models
SemanticStore uses various state-of-the-art models to process text, images and audio.
Pipelines | Model 1 | Model 2 | Model 3 | Model 4 |
---|---|---|---|---|
Text | multi-qa-MiniLM-L6-cos-v1 | CLIP | - | - |
Audio | Whisper | multi-qa-MiniLM-L6-cos-v1 | CLIP | - |
Image | CLIP | BLIP | multi-qa-MiniLM-L6-cos-v1 | - |
Video | Whisper | CLIP | BLIP | multi-qa-MiniLM-L6-cos-v1 |
Note : Models and pipeines in Italics are still to be implemented.
Contributing
Contributions are welcome! If you'd like to enhance the SemanticStore or fix issues, please follow these steps:
- Fork the repository.
- Create a branch: git checkout -b feature/your-feature or fix/your-fix.
- Commit your changes: git commit -m 'Add some feature' or git commit -m 'Fix some issue'.
- Push to the branch: git push origin feature/your-feature or git push origin fix/your-fix.
- Open a pull request
Note: This vector store is intended for small hobby projects and personal use. It may not be suitable for large-scale or production environments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for semantic_store-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eb3bdafdb57dc65efc8f6d0c2ff07f721bae927005e0fe2dbafc835e7dfcb9a |
|
MD5 | 85eb102aa5d8f21a3d58495e89904d07 |
|
BLAKE2b-256 | d7c611ba7948472db90bce789f5ff0667ccf64fb5b4cff3e55186dc6334e2544 |