File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ main();
200200```
201201
202202Streaming with ` openai.beta.chat.completions.stream({…}) ` exposes
203- [ various helpers for your convenience] ( helpers.md#events ) including event handlers and promises.
203+ [ various helpers for your convenience] ( helpers.md#chat- events ) including event handlers and promises.
204204
205205Alternatively, you can use ` openai.chat.completions.create({ stream: true, … }) `
206206which only returns an async iterable of the chunks in the stream and thus uses less memory
@@ -285,12 +285,12 @@ main();
285285// Final content: "It's looking cold and rainy - you might want to wear a jacket!"
286286```
287287
288- Like with ` .stream() ` , we provide a variety of [ helpers and events] ( helpers.md#events ) .
288+ Like with ` .stream() ` , we provide a variety of [ helpers and events] ( helpers.md#chat- events ) .
289289
290290Note that ` runFunctions ` was previously available as well, but has been deprecated in favor of ` runTools ` .
291291
292292Read more about various examples such as with integrating with [ zod] ( helpers.md#integrate-with-zod ) ,
293- [ next.js] ( helpers.md#integrate-wtih-next-js ) , and [ proxying a stream to the browser] ( helpers.md#proxy-streaming-to-a-browser ) .
293+ [ next.js] ( helpers.md#integrate-with-nextjs ) , and [ proxying a stream to the browser] ( helpers.md#proxy-streaming-to-a-browser ) .
294294
295295## File uploads
296296
You can’t perform that action at this time.
0 commit comments