Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 253 Bytes

readme.md

File metadata and controls

13 lines (10 loc) · 253 Bytes

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.