Skip to content

Webservice-REST API for Q&A ChatBot based on PDF files (basic version)

License

Notifications You must be signed in to change notification settings

CellCS/ChatPDFAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatPDFAPI

Webservice-REST API for Q&A ChatBot based on PDF files (basic version) Check related Post on Medium

Create Docker Image

docker build -t chatpdfapi:v1 .

run Docker container

docker run -p 8001:8001 -e OPENAI_API_KEY=youropenai_key --name chatpdfapi chatpdfapi:v1

test code

curl -X POST -H "Content-Type: application/json" -d '{"source": "unknown", "question": "what is gpt-4?"}' http://localhost:8001/ask

About

Webservice-REST API for Q&A ChatBot based on PDF files (basic version)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published