Interface: AuthoringClarificationQuestionDto
@kortexya/reasoninglayer / AuthoringClarificationQuestionDto
Interface: AuthoringClarificationQuestionDto
Section titled “Interface: AuthoringClarificationQuestionDto”Defined in: src/types/functions.ts:285
A clarification question surfaced to the user during AI-assisted authoring.
Remarks
Section titled “Remarks”Mirrors the ontology/generate question contract so a frontend can reuse one form
across every authoring flow.
Properties
Section titled “Properties”choices?
Section titled “choices?”
optionalchoices?:unknown[] |null
Defined in: src/types/functions.ts:287
Allowed choices for the answer, when the question is a closed one.
default?
Section titled “default?”
optionaldefault?:string|null
Defined in: src/types/functions.ts:289
Default answer value, when the model has a preferred fallback.
field:
string
Defined in: src/types/functions.ts:291
Name of the draft field this question resolves.
id:
string
Defined in: src/types/functions.ts:293
Unique question identifier — the key to use in the answers map of the follow-up call.
question
Section titled “question”question:
string
Defined in: src/types/functions.ts:295
The question text to show the user.
type:
string
Defined in: src/types/functions.ts:297
Question type (e.g., "text", "choice").