Skip to content

dw-innovation/kid2-spot-central-nlp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPOT Central NLP API

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:

Installation

docker build -t spot_central_api:latest . docker run -p 80:8080 --env-file .env spot_central_api:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published