DecisionQuestions
The questions a decision model was asked, read only: each with its type and instructions, then what yes and no, each option or each level means.
- is_invoiceYes/noIs this document an invoice or a receipt?
- Yes
- It asks for or confirms a payment
- No
- Anything else
- team4 optionsChoiceWhich team should handle it?
- finance
- Invoices, refunds and payments
- legal
- Contracts and data requests
- support
- Questions about using Kaeso
- sales
- Plans and quotes
- urgency3 levelsScoreHow soon does it need an answer?
- 0
- This month: Nothing waits on it
- 1
- This week: Someone waits, but not today
- 2
- Today: Work is blocked until it is answered
- totalBoxWhere is the total on the receipt?
<div className="w-full max-w-480">
<DecisionQuestions questions={triageQuestions} />
</div>import { DecisionQuestions } from "@logicplanes/kaeso-ui/playground";Props
aria-labelstringThe list's accessible name ("Questions" by default, in the provider's language).
layout"list" = listThe list of questions, a hairline between them.
questionsreadonly DecisionQuestion[]The questions as they were sent: kind, name, instructions, and what yes and no, the options or the levels mean.