Skip to content

fix(docs): correct openai api key name #4930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/docs/customize/model-providers/top-level/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ We recommend configuring **GPT-4o** as your chat model.
- name: GPT-4o
provider: openai
model: gpt-4o
apiKey: <YOUR_HUGGINGFACE_TEI_API_KEY>
apiKey: <YOUR_OPENAI_API_KEY>
```
</TabItem>
<TabItem value="json" label="JSON">
Expand All @@ -32,7 +32,7 @@ We recommend configuring **GPT-4o** as your chat model.
"title": "GPT-4o",
"provider": "openai",
"model": "gpt-4o",
"apiKey": "<YOUR_HUGGINGFACE_TEI_API_KEY>"
"apiKey": "<YOUR_OPENAI_API_KEY>"
}
]
}
Expand All @@ -57,7 +57,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
- name: OpenAI Embeddings
provider: openai
model: text-embedding-3-large
apiKey: <YOUR_HUGGINGFACE_TEI_API_KEY>
apiKey: <YOUR_OPENAI_API_KEY>
roles:
- embed
```
Expand All @@ -68,7 +68,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model.
"embeddingsProvider": {
"provider": "openai",
"model": "text-embedding-3-large",
"apiKey": "<YOUR_HUGGINGFACE_TEI_API_KEY>"
"apiKey": "<YOUR_OPENAI_API_KEY>"
}
}
```
Expand Down
Loading