Skip to content

giladivry/chattyBird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example service using fastapi and chatgpt

build and run

  • build the image

$ sudo docker build -t chattybird .

  • run the container

$ sudo docker run -p 8000:8000 chattybird

  • send a message

$ curl --header "Content-Type: application/json" --request POST --data '{"message":"hi!"}' http://localhost:8000/api/messages/

{"message":"hi!","id":2,"response":"Hello there! How are you doing today?"}

  • receive all conversation messages $ TODO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published