docker compose build
docker compose up -d
pip install -r requirements.txt
python manage.py migrate
docker compose up -d
python manage.py runserver 0.0.0.0:8000
create knowledge
curl --location 'http://localhost:8000/knowledge' \
--form 'openai_api_key="key"' \
--form 'file=@"example.txt"'
delete knowledge
curl --location --request DELETE 'http://localhost:8000/knowledge' \
--form 'url="gs://bucket_name/example.txt"'
chat
curl --location 'http://localhost:8000/knowledge/retrieve' \
--form 'openai_api_key="key"' \
--form 'question="what is your name?"' \
--form 'user_id="user_id"'