Skip to content

SidJain1412/StreamingFastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreamingFastAPI

Read the blog here

Very basic FastAPI app that uses OpenAI APIs to stream responses

Set OPENAI_API_KEY environment variable using export OPENAI_API_KEY=<your_api_key>

Install packages using pip install -r requirements.txt

Run using uvicorn fastapp:app (use --reload flag for debugging)

Navigate to http://127.0.0.1:8000/docs to find documentation and test the API

Docs Page

About

FastAPI app that uses OpenAI APIs to stream responses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages