File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,9 @@ works better with LLMs).
180
180
# 🤔 What's the big deal? Why use this library?
181
181
182
182
The OpenAI Streaming API is robust but challenging to navigate. Using the ` stream=True ` flag, we get tokens as they are
183
- generated, instead of waiting for the entire response - this can create a much friendlier user experience with the
184
- illusion of quicker response times . However, this involves complex tasks like manual stream handling
185
- and response parsing, especially when using OpenAI Functions or complex outputs.
183
+ generated, instead of waiting for the entire response — this can create a much friendlier user experience with the
184
+ illusion of a quicker response time . However, this involves complex tasks like manual stream handling and response
185
+ parsing, especially when using OpenAI Functions or complex outputs.
186
186
187
187
` openai-streaming ` is a small library that simplifies this by offering a straightforward Python Generator interface for
188
188
handling streaming responses.
You can’t perform that action at this time.
0 commit comments