Skip to content

[Feature Request]: Add WebSocket API route for streaming responses #11683

@lizheng419

Description

@lizheng419

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Is your feature request related to a problem?

Because WeChat Mini Programs require WebSocket communication, RagFlow needs a WebSocket API to support real-time streaming output. Without WebSocket support, the Mini Program cannot properly interact with RagFlow for chat or long-text generation.

Describe the feature you'd like

Add WebSocket API route for streaming responses

Describe implementation you've considered

No response

Documentation, adoption, use case

Additional information

No response

Metadata

Metadata

Assignees

Labels

💞 featureFeature request, pull request that fullfill a new feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions