Widget UI Documentation
1. Overview
The Widget feature allows you to create structured UI components (like cards) directly from the panel.
You can:
Create UI cards using the Widget option in the panel
Create widgets from the Widget section
Use default pre-built widgets
Configure widgets from the Agent Config page
Generate UI dynamically based on agent response data
2. Where to Create Widgets
Option 1: From the Panel
Open the Panel
Select Widget
Choose or configure your widget
Save and use
Option 2: From the Widget Section
Navigate to the Widget Section
You will see default widgets already available
You can:
Use existing widgets
Create new widgets
3. Default Widgets
By default, the system provides pre-configured widgets such as:
Card UI
List UI
Table UI
These can be used directly or customized.
4. How to Use Widget in Agent
Step 1: Go to Agent Config Page
Navigate to the Agent Config Page.
Step 2: Select Response Type
A new option is available:
Response Type → WidgetWhen you select Widget, multiple widget options will appear.
Step 3: Select Widget Type
Choose the widget type you want (e.g., Card, List, Table).
5. How It Works
Configure your widget in Agent settings.
Select Response Type = Widget.
Choose and configure your widget.
Send a query to the agent.
The agent will return structured data.
The system automatically renders the UI based on:
Selected widget type
Returned agent data
The UI will be generated dynamically according to your configured widget structure.
6. Example Flow
Open Agent Config.
Select:
Response Type → Widget Widget Type → CardAsk the agent:
Show me detail in card for the company info of walkoverThe agent returns structured product data.
7. Key Benefits
No manual UI coding required
Dynamic UI generation
Reusable widget templates
Structured and consistent design
Easy configuration
8. Important Notes
Widgets must be properly configured before use.
Agent response must return structured data.
UI rendering depends on selected widget type.