Skip to content

SidJain1412/StreamingFastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5d4770b · Jun 27, 2024

History

27 Commits
May 9, 2023
May 15, 2023
May 9, 2023
Jun 27, 2024
May 15, 2023
May 15, 2023

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