Skip to content

Minimal implementation of OpenAI API in FastAPI framework.

Notifications You must be signed in to change notification settings

nthe/minimal-openai-api-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal OpenAI API in FastAPI

Endpoints:

  • chat completions
  • files (in-memory store)
  • models

Usage:

uvicorn src.api.server:app --host {host} --port {port}

See src/api/state.py for setup of dependencies and global (shared) state.

About

Minimal implementation of OpenAI API in FastAPI framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages