Skip to content

Latest commit

 

History

History

chatgpt

ChatGPT bridge

Use the Finegrain API right from ChatGPT.

Getting started

Create .env from the .env.example file.

Development

  1. Install the dependencies:
uv sync --all-extras --all-groups
  1. Start the development server:
QUART_APP=chatgpt_bridge uv run quart

Deployment

  1. Install the dependencies:
uv sync --all-extras --all-groups --locked
  1. Start the production server:
hypercorn chatgpt_bridge:app
  1. Create a Custom GPT at https://chatgpt.com/gpts/mine.

  2. Upload a logo, fill the Name and Description fields.

  3. Fill the Instructions field, see instructions.md as a reference.

  4. Create a new action, see openapi.yml as a reference.

  5. Set Authentication to API Key - Basic, and use the CHATGPT_API_KEY from the .env file.