You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/examples/openai-sdk-streaming.mdx
+31-30Lines changed: 31 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,49 +12,50 @@ sidebar:
12
12
order: 1001
13
13
head: []
14
14
description: Use the OpenAI v4 SDK to stream responses from OpenAI.
15
-
16
15
---
17
16
18
17
In order to run this code, you must install the OpenAI SDK by running `npm i openai`.
19
18
20
19
:::note
21
20
22
-
23
21
For analytics, caching, rate limiting, and more, you can also send requests like this through Cloudflare's [AI Gateway](/ai-gateway/providers/openai/).
0 commit comments