This API can request multiple machine learning models for transforming sentences into imr format.
You need to set the following parameters in .env
:
T5_ENDPOINT=...
CHATGPT_ENDPOINT=...
MONGO_URI=...
MONGO_DB_NAME=...
MONGO_COLLECTION_NAME=...
HF_LLAMA_ENDPOINT=...
HF_ACCESS_TOKEN=...
PROMPT_FILE='data/zero_shot_cot_prompt.txt'
COLOR_BUNDLE_SEARCH=...
SEARCH_ENDPOINT=...
You can refer to the following repositories for setting up model endpoints:
docker build -t spot_central_api:latest . docker run -p 80:8080 --env-file .env spot_central_api:latest