How to do streaming properly? #5088
Unanswered
prakharlohumi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a graph which contains multiple subgraphs. This graph and its subgraphs will be exposed over an API, which will stream responses.
I want to stream state value after each node along with the node name. But am not able to figure out how to do this effectively.
If I use updates mode, I do get the node names but only the output of the node (as opposed to the full state value).
If I use values mode, I do get the full state value but I don't get the node name.
Does anyone have any suggestions on how to find the middle ground here?
Beta Was this translation helpful? Give feedback.
All reactions