This is a standalone project to be used with the SWP WebAssistant.
It provides a REST API to calculate embeddings for text data. The embeddings are used to compare the similarity of texts.
The service is able to process HTML, Text and PDF files.
See the docs folder for more information.
Create a virtual environment and install the requirements:
git module init
git submodule update
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtDownload the model data:
ENVIRONMENT=develop python manage.py download-dataTo start the service run:
ENVIRONMENT=develop python manage.py runserver 127.0.0.1:8080