We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab28f7 commit 57dbfd5Copy full SHA for 57dbfd5
lib/openai/client.rb
@@ -94,8 +94,8 @@ def self.to_json(string)
94
end
95
96
# Given a proc, returns an outer proc that can be used to iterate over a JSON stream of chunks.
97
- # For each chunk, the inner user_proc is called giving it the JSON object. The JSON object could be a
98
- # data object or an error object as described in the OpenAI API documentation.
+ # For each chunk, the inner user_proc is called giving it the JSON object. The JSON object could
+ # be a data object or an error object as described in the OpenAI API documentation.
99
#
100
# If the JSON object for a given data or error message is invalid, it is ignored.
101
0 commit comments