Find answers from the community

Updated 3 months ago

QueryPipeline has run_multi_with_

QueryPipeline has run_multi_with_intermediates.

Is there any way to achieve the same with workflows?

run_multi_with_intermediates is a nice way to inspect the results of each node after the whole query had ran
L
C
2 comments
This is an interesting method
https://docs.llamaindex.ai/en/stable/understanding/workflows/stream/

Or you can just accumulate all the intermediates in the context and return it all in the StopEvent
Yeah, that works, thanks!
Add a reply
Sign up and join the conversation on Discord