SUZENT / 文档
SUZENT 使用手册

OpenAI

Use GPT models with an OpenAI API key, or point Suzent at Azure OpenAI or another compatible endpoint.

此页面目前提供英文内容,中文翻译尚未完成。

Use GPT and other OpenAI models with an API key from your OpenAI account.

Set up

  1. Get an API key from platform.openai.com/api-keys.
  2. Open Settings → Providers → OpenAI, click CHANGE on the API KEYS tab, and paste the key.
  3. On the MODELS tab, click FETCH, tick the models you want, and click Save Changes.

Settings

FieldEnvironment variableNotes
API KeyOPENAI_API_KEYStarts with sk-.
Base URL (Optional)—Leave empty for OpenAI. Set it for Azure OpenAI or another OpenAI-compatible endpoint.

You can set the key's environment variable before starting Suzent instead of pasting it. It then shows as Set in env and can't be changed from the app.

Good to know

Already pay for ChatGPT Plus or Pro? The ChatGPT Subscription provider uses your plan instead of API credit.

在 GitHub 上编辑此页 ↗

本页内容