OpenAI 流式 API
1 | const stream = await openai.chat.completions.create({ |
解析流式响应
1 | interface StreamChunk { |
导航
上一篇: 5.1 流式输出的优势
下一篇: 5.3 流式输出处理
1 | const stream = await openai.chat.completions.create({ |
1 | interface StreamChunk { |
上一篇: 5.1 流式输出的优势
下一篇: 5.3 流式输出处理