Skip to content

Interface: AuthoringClarificationQuestionDto

@kortexya/reasoninglayer


@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.

Mirrors the ontology/generate question contract so a frontend can reuse one form across every authoring flow.

optional choices?: unknown[] | null

Defined in: src/types/functions.ts:287

Allowed choices for the answer, when the question is a closed one.


optional default?: 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: 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").