added wipe make command (#1215)

* added `wipe` make command

* Apply suggestions from code review

Thanks for your suggestions, I like to apply them.

Co-authored-by: lopagela <lpglm@orange.fr>

* added `wipe` command to the documentation

* rebased to generate valid openapi.json

---------

Co-authored-by: lopagela <lpglm@orange.fr>
This commit is contained in:
Dominik Fuchs 2023-11-16 11:44:02 +01:00 committed by GitHub
parent 03d1ae6d70
commit 23fa530c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 60 additions and 51 deletions

View file

@ -49,4 +49,7 @@ api-docs:
poetry run python scripts/extract_openapi.py private_gpt.main:app --out docs/openapi.json
ingest:
@poetry run python scripts/ingest_folder.py $(call args)
@poetry run python scripts/ingest_folder.py $(call args)
wipe:
poetry run python scripts/utils.py wipe