We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81c5a51 commit e14e04aCopy full SHA for e14e04a
README.md
@@ -245,7 +245,7 @@ You can stream it as well!
245
response = client.chat(
246
parameters: {
247
model: "gpt-3.5-turbo-1106",
248
- messages: [{ role: "user", content: "Can I have JSON Please?"}],
+ messages: [{ role: "user", content: "Can I have some JSON please?"}],
249
response_format: { type: "json_object" },
250
stream: proc do |chunk, _bytesize|
251
print chunk.dig("choices", 0, "delta", "content")
0 commit comments