Equivalent of LangChain StreamlitCallbackHandler for LlamaIndex Agents

Hi,

Has anyone come across a LlamaIndex equivalent of the LangChain StreamlitCallbackHandler?

I’m using LlamaIndex to create an agent that can provide responses based on searches that span multiple documents and it would be really useful if user’s could see the agent’s “thoughts” as it’s working. So far though, I’ve been unable to find an equivalent or work out how to write my own to work with st.chat_input.

Thanks in advance for any suggestions or ideas.

1 Like

Even I am looking for the same solution