Backend chatbot server for SIH
pip install -r requirements.txt
OPENAI_API_KEY=
uvicorn main:app --reload
http://localhost/8000/api
/generate/chat
- Will generate you response based on grievance particularly it will be a chat endpoint/generate/submit
- Will generate you response in JSON format along with solution/index
- Will re create the index based on given text/token
- Will return token count for the text/transcribe
- Will transcribe the audio and pass it to the chatbot to query the index and return the result