Service for searching vector indexes.
Indexes are searched by passing in a query vector. A list of most similar vectors present in the index are then found and their labels and similarities (or distances) are returned in the response.
For more detailed information, please refer to PQAI Wiki.
Method | Endpoint | Comments |
---|---|---|
GET |
/search |
Search for similar items using a query vector |
- Clone this repository
- Create a
.env
file using/env
template and set environment variable values - Create a virtual environment and install dependencies:
pip install -r requirements.txt
- Run the service:
python3 main.py
- Install Docker in your system.
- Clone this repository
- Create a
.env
file using/env
template and set environment variable values - Then run the command:
sudo docker compose up
The project is open-source under the MIT license.
We welcome contributions.
To make a contribution, please follow these steps:
- Fork this repository.
- Create a new branch with a descriptive name
- Make the changes you want and add new tests, if needed
- Make sure all tests are passing
- Commit your changes
- Submit a pull request
Please create an issue if you need help.