Use the Finegrain API right from ChatGPT.
Create .env
from the .env.example
file.
- Install the dependencies:
uv sync --all-extras --all-groups
- Start the development server:
QUART_APP=chatgpt_bridge uv run quart
- Install the dependencies:
uv sync --all-extras --all-groups --locked
- Start the production server:
hypercorn chatgpt_bridge:app
-
Create a Custom GPT at https://chatgpt.com/gpts/mine.
-
Upload a logo, fill the
Name
andDescription
fields. -
Fill the
Instructions
field, seeinstructions.md
as a reference. -
Create a new action, see
openapi.yml
as a reference. -
Set
Authentication
toAPI Key - Basic
, and use theCHATGPT_API_KEY
from the.env
file.