Search PDF files in 100+ languages using Qdrant and Cohere.
Install the dependencies using pip
pip install -r requirements.txt
Setup Qdrant
- Create a Qdrant account
- Create a new cluster to get your
dqrant_url
andqdrant_api_key
Env variables
Assign all of these env variables:
cohere_api_key="***"
openai_api_key="***"
qdrant_url="***"
qdrant_api_key="***"
Use the command below to run the app and it should be available with these API routes /embed
and /retrieve
.
gunicorn app:app