pip install virtualenv
- install venv managervirtualenv venv
- create virtual envsource venv/bin/activate
- enter venvpip install poetry
- install package managerpoetry install
- install all dependencies
With a local Qdrant instance running
poetry run pytest
or with a Docker container
./tests/integration-tests.sh
Crawl content of documentation website
poetry run python site_search/crawl.py
It creates the file data/abstracts.jsonl
.
To encode the scraped abstract and upload the vectors
poetry run python site_search/encode.py
To access the search service built-on top of Qdrant.
poetry run python site_search/service.py
then go to
http://localhost:8000/docs