Interface: RuleDraftClarificationQuestionDto
@kortexya/reasoninglayer / RuleDraftClarificationQuestionDto
Interface: RuleDraftClarificationQuestionDto
Section titled “Interface: RuleDraftClarificationQuestionDto”Defined in: src/types/inference.ts:1917
A clarification question posed while drafting rules.
Remarks
Section titled “Remarks”Mirrors the ontology/generate question contract so a frontend can reuse one
form component across authoring flows. See
import(‘./ontology.js’).OntologyClarificationQuestionDto and
import(‘./scenarios.js’).ClarificationQuestionDto, its siblings.
Properties
Section titled “Properties”choices?
Section titled “choices?”
optionalchoices?:unknown[] |null
Defined in: src/types/inference.ts:1919
Allowed choices for the answer (if applicable).
default?
Section titled “default?”
optionaldefault?:string|null
Defined in: src/types/inference.ts:1921
Default answer value.
field:
string
Defined in: src/types/inference.ts:1923
Field name this question relates to — the key to use in DraftRulesRequest.answers.
id:
string
Defined in: src/types/inference.ts:1925
Unique question identifier.
question
Section titled “question”question:
string
Defined in: src/types/inference.ts:1927
The question text.
type:
string
Defined in: src/types/inference.ts:1929
Question type (e.g. "text", "choice").