We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
团队老师们好。接入知识库能否实现流式输出结果,最好是终端效果可见的,Python实现的demo请问有吗?
The text was updated successfully, but these errors were encountered:
接入知识库可以实现流式输出结果。在 FileChatParam 类中,有一个 stream 字段,可以通过设置该字段为 True 来启用流式输出功能[1]。
FileChatParam
stream
True
关于Python实现的demo,文档中没有提供相关信息[1]。不过,您可以参考 completion 函数的实现,该函数在流式输出时使用了异步迭代器来逐步输出结果[2][3]。
completion
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other
Sorry, something went wrong.
哇,太棒啦吧
No branches or pull requests
团队老师们好。接入知识库能否实现流式输出结果,最好是终端效果可见的,Python实现的demo请问有吗?
The text was updated successfully, but these errors were encountered: