Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/oss/python/integrations/chat/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mode: wide

## Chat Completions API

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.
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.

<Accordion title="Example: OpenRouter">
To use OpenRouter, you will need to sign up for an account and obtain an [API key](https://openrouter.ai/docs/api-reference/authentication).
Expand Down
4 changes: 2 additions & 2 deletions src/oss/python/integrations/chat/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ You can find information about OpenAI's latest models, their costs, context wind
</Tip>

<Note>
**Chat Completions API compatiblity**
**Chat Completions API compatibility**

`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).
`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).
</Note>

## Overview
Expand Down