-
Get data from Zendesk, replace at
cleaner/apollo-knowledge/raw_articles.json
. -
Clean and process by running
npm run generate:apollo-knowledge
insidecleaner
folder. -
Create and compute embeddings
-
Run it outside docker else it will be very slow
-
First time run:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt
-
Everytime run:
python3 api/index.py --precompute
-
TODO: Separate compute logic to another file
-
-
To run the server locally, copy and create
.env
from.env.dev
. Then rundocker compose up
.
docker exec -it api /bin/bash