Webservice-REST API for Q&A ChatBot based on PDF files (basic version) Check related Post on Medium
docker build -t chatpdfapi:v1 .
docker run -p 8001:8001 -e OPENAI_API_KEY=youropenai_key --name chatpdfapi chatpdfapi:v1
curl -X POST -H "Content-Type: application/json" -d '{"source": "unknown", "question": "what is gpt-4?"}' http://localhost:8001/ask