Structured User Input
Clickable option buttons and inline forms in chat
Baudhik AI includes two built-in tools that let the agent collect structured input from you mid-conversation, instead of asking open-ended follow-up questions.
Ask User (Options)
When the agent needs to understand your situation before searching or answering — and the answer space is bounded — it presents clickable option buttons instead of waiting for a free-text reply.
Example: You ask about appealing a court decision. Rather than asking "which type of appeal?", the agent surfaces buttons:
- Civil Appeal
- Criminal Appeal
- Administrative Review
Click your answer and the agent proceeds with the right context.
Options can be single-select or multi-select. The agent uses this tool when the answer has a defined set of choices — it does not use it for open-ended questions.
Ask User (Form)
When the agent needs 3–5 specific typed inputs before it can proceed, it presents an inline form in the chat. This is cleaner than asking each field sequentially across multiple turns.
Example: To fill a court application form, the agent presents a single form with fields like:
- Party name (text)
- Date of incident (date)
- Court level (select: District / High / Supreme)
- Case number (text)
Submit the form and the agent receives all values at once as a normal user turn.
Field types
| Type | Description |
|---|---|
text | Free-text input |
date | Date picker |
select | Dropdown from a fixed options list |
The form tool accepts 3–5 fields per form. If the agent needs more than 5 inputs, it splits them across multiple turns.
Enabling on an agent
Both tools are built-in and available to enable on any agent:
- Go to Admin → Custom Agents → select or create an agent
- In the Tools section, toggle on Ask User (Options) and/or Ask User (Form)
- Save the agent
The agent will use whichever tool fits the situation — options for bounded choices, form for structured multi-field collection.