New to Telerik UI for Blazor? Download Free 30-day trial
LLM Kit - Chain of Thought
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
meridian
- Chain-of-thought.razor
Loading the demo source code...please wait.
Description
The TelerikChainOfThought component renders an AI agent's step-by-step reasoning trace as a structured, collapsible list. Each thought row can carry an icon, text, a completion flag, and optional diff counts — making it easy to present tool searches, discoveries, and decision points in a readable, auditable format.
Bind a collection of thought items through the Data parameter and use field-mapping parameters (LabelField, SvgIconField, CompletedField, etc.) to adapt it to any model shape. The optional ThoughtTemplate gives you full control over how each row is rendered.
This Blazor LLM Kit Chain of Thought example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.