Replies: 6 comments 1 reply
-
Streaming is challenging given that some of the guardrails need to process the generated the response (to alter it or even replace completely). We'll definitely add support for streaming, and it will most likely be conditioned on the guardrails configuration i.e. if you have certain types of rails, you won't be able to use streaming. |
Beta Was this translation helpful? Give feedback.
-
yes, from UX perspective this is going to be important, that would be great if this is in your roadmap. |
Beta Was this translation helpful? Give feedback.
-
Any progress in this direction. Is the feature now available? |
Beta Was this translation helpful? Give feedback.
-
Yes, the support for streaming was added in However, as mentioned above, it will only work if no output rails are used. Also #377 adds an example with streaming from a custom action. |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Current GuardRails doesn't provide an easy way to provide StreamingResponses or SSE . It would be great if there was a way to implement StreamingResponses like what Langchain Provides.
It is within context as most usecases would be around chatbot applications and performance implications of SSE as compared to just a wait call where one would prefer to integrate Websockets would make tonnes of sense!
Beta Was this translation helpful? Give feedback.
All reactions