Skip to content

Commit ee53f2b

Browse files
authored
Update README.md
gpt-4-vision-preview was depreciated 12-06-2024 they recommend using gpt-4o instead.
1 parent 6c834c2 commit ee53f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ client.chat(
458458

459459
#### Vision
460460

461-
You can use the GPT-4 Vision model to generate a description of an image:
461+
You can use the GPT-4o as a Vision model to generate a description of an image:
462462

463463
```ruby
464464
messages = [
@@ -471,7 +471,7 @@ messages = [
471471
]
472472
response = client.chat(
473473
parameters: {
474-
model: "gpt-4-vision-preview", # Required.
474+
model: "gpt-4o", # Required.
475475
messages: [{ role: "user", content: messages}], # Required.
476476
}
477477
)

0 commit comments

Comments
 (0)