Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
logankilpatrick authored Sep 6, 2023
commit 2cc35c0a4408dba5cf4e8fa2487d4719739d7bde
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Most endpoints support a `request_timeout` param. This param takes a `Union[floa

### Chat completions

Conversational models such as `gpt-3.5-turbo` can be called using the [chat completions endpoint](https://platform.openai.com/docs/api-reference/chat/create).
Chat models such as `gpt-3.5-turbo` and `gpt-4` can be called using the [chat completions endpoint](https://platform.openai.com/docs/api-reference/chat/create).

```python
completion = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Hello world"}])
Expand Down