-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【问题请教】关于 ChatUI 卡片组件能否支持 SSE? #2
Comments
我这个代码略陈旧些了,并未实现SSE,而是用轮询方法不断post模拟实现的。SSE用openai.beta.chat.completions.stream实现,可参考:https://github.com/git-cloner/querychain/blob/main/chat-app/src/App.js中的chat_stream方法,不过也只是文本 |
仔细拜读了下, 确实是通过轮询post,我再去看看 SSE 的调用解析,感谢你的思路~ |
这个项目的接口是python实现的。部署方法是https://github.com/git-cloner/codegen?tab=readme-ov-file#install,我未使用node.js实现过SSE |
好的,谢谢🙏 |
如题,我看到博主已经实现文本消息的 SSE,还想请问ChatUI 卡片组件(其他非文本)能否支持 SSE?或者有啥其他思路吗,因为请求大模型需要一定的时间,才能拿到所有结果
The text was updated successfully, but these errors were encountered: