Skip to content

Commit 61fc8ca

Browse files
committed
Add GPT-5 to README
1 parent 86b195c commit 61fc8ca

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,11 +540,14 @@ You can stream it as well!
540540

541541
```ruby
542542
response = client.responses.create(parameters: {
543-
model: "gpt-4o",
544-
input: "Hello! I'm Szymon!"
543+
model: "gpt-5",
544+
input: "Hello! I'm Szymon!",
545+
reasoning: {
546+
"effort": "minimal"
547+
}
545548
})
546549
puts response.dig("output", 0, "content", 0, "text")
547-
# => Hello Szymon! How can I assist you today?
550+
# => Hi Szymon! Great to meet you. How can I help today?
548551
```
549552

550553
#### Follow-up Messages

0 commit comments

Comments
 (0)