Skip to content

Commit a5f881a

Browse files
authored
fix references to chat completions (#1168)
1 parent bff7cb2 commit a5f881a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

β€Žsrc/oss/python/integrations/chat/index.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mode: wide
3434

3535
## Chat Completions API
3636

37-
Certain model providers offer endpoints that are compatible with OpenAI's (legacy) [Chat Completions API](https://platform.openai.com/docs/guides/completions). In such case, you can use [`ChatOpenAI`](/oss/integrations/chat/openai) with a custom `base_url` to connect to these endpoints.
37+
Certain model providers offer endpoints that are compatible with OpenAI's [Chat Completions API](https://platform.openai.com/docs/api-reference/chat). In such case, you can use [`ChatOpenAI`](/oss/integrations/chat/openai) with a custom `base_url` to connect to these endpoints.
3838

3939
<Accordion title="Example: OpenRouter">
4040
To use OpenRouter, you will need to sign up for an account and obtain an [API key](https://openrouter.ai/docs/api-reference/authentication).

β€Žsrc/oss/python/integrations/chat/openai.mdxβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ You can find information about OpenAI's latest models, their costs, context wind
1313
</Tip>
1414

1515
<Note>
16-
**Chat Completions API compatiblity**
16+
**Chat Completions API compatibility**
1717

18-
`ChatOpenAI` is fully compatible with OpenAI's (legacy) [Chat Completions API](https://platform.openai.com/docs/guides/completions). If you are looking to connect to other model providers that support the Chat Completions API, you can do so – see [instructions](/oss/integrations/chat#chat-completions-api).
18+
`ChatOpenAI` is fully compatible with OpenAI's [Chat Completions API](https://platform.openai.com/docs/api-reference/chat). If you are looking to connect to other model providers that support the Chat Completions API, you can do so – see [instructions](/oss/integrations/chat#chat-completions-api).
1919
</Note>
2020

2121
## Overview

0 commit comments

Comments
Β (0)