Integrations · Class
StreamlitCallbackHandler
StreamlitCallbackHandler sends LangChain agent callback output to a Streamlit app. It shows model and tool-use thoughts in expanders and lets you control their visibility and labels.
Last updated
- Since
- v1.4
Syntax
StreamlitCallbackHandler(parent_container: DeltaGenerator, *, max_thought_containers: int = 4, expand_new_thoughts: bool = True, collapse_completed_thoughts: bool = True, thought_labeler: LLMThoughtLabeler | None = None) -> BaseCallbackHandlerIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BaseCallbackHandlerLLMThoughtLabelerStreamlitLangChain Agent