StreamEvents when using Send() #830
Unanswered
KeenanFernandes2000
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
-
I replicated one of the youtube video where you run a single node in parallel for different sections of an article. Now I want to know if its possible to segregate the streams of each section.
For example:
A write node is generating text for [ introduction, section 1, section 2, conclusion ], for each section I use the Send function to call the same node to generate the content.
Now on the frontend I want to stream the output as it comes however not all sections are equal some might finish beforehand, what I want to do on the frontend is to have the 4 sections with their own div and as the content for that div is generated I send the content from the AI instance to that div.
How can I accomplish something like this is there an id that will help me send different content or is there another way to proceed?
Beta Was this translation helpful? Give feedback.
All reactions