How to vizualise Workflows streaming events / agent reasoning? #6

Closed
opened 2026-02-16 02:17:39 -05:00 by yindo · 2 comments
Owner

Originally created by @neri-rnd on GitHub (Dec 5, 2024).

Hi, what is the proper way of using chat-ui with llama-index workflows?

I'm struggling to properly output streaming events from workflow to ui.
Vercel useChat streaming is confusing. I want to visualize some form of reasoning like chainlit.
So i'd like to stream events as the workflow executes with all tool-calling and results, and ultimately output the final message.

Any hints or examples are highly appreciated!

Originally created by @neri-rnd on GitHub (Dec 5, 2024). Hi, what is the proper way of using chat-ui with llama-index workflows? I'm struggling to properly output streaming events from workflow to ui. Vercel useChat streaming is confusing. I want to visualize some form of reasoning like chainlit. So i'd like to stream events as the workflow executes with all tool-calling and results, and ultimately output the final message. Any hints or examples are highly appreciated!
yindo closed this issue 2026-02-16 02:17:39 -05:00
Author
Owner

@marcusschiesser commented on GitHub (Dec 5, 2024):

Have you tried using create-llama to generate some workflow code? It's using a streaming implementation for workflows, just try:

image
@marcusschiesser commented on GitHub (Dec 5, 2024): Have you tried using create-llama to generate some workflow code? It's using a streaming implementation for workflows, just try: <img width="1355" alt="image" src="https://github.com/user-attachments/assets/974caf0a-0c40-450e-9971-eb68a8c20e39">
Author
Owner

@neri-rnd commented on GitHub (Dec 10, 2024):

Thank you, it helped!

@neri-rnd commented on GitHub (Dec 10, 2024): Thank you, it helped!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/chat-ui#6