Skip to main content

An in-memory vector store for semantic data storage and retrieval

Project description

SemanticStore

Alpha Version GitHub last commit GitHub issues Join Slack

Twitter header - 1 (2)

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:

  1. Install into environment

    pip install semantic-store
    
  2. Install requirements

    Will try to package CLIP in next release version

    pip install git+https://github.com/openai/CLIP.git
    
  3. 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:

  1. Fork the repository.
  2. Create a branch: git checkout -b feature/your-feature or fix/your-fix.
  3. Commit your changes: git commit -m 'Add some feature' or git commit -m 'Fix some issue'.
  4. Push to the branch: git push origin feature/your-feature or git push origin fix/your-fix.
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semantic-store-0.0.7.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

semantic_store-0.0.7-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page