Skip to content

Interface: AuthoringClarificationQuestionDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Functions / AuthoringClarificationQuestionDto

Interface: AuthoringClarificationQuestionDto

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

A clarification question surfaced to the user during AI-assisted authoring.

Remarks

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

Properties

choices?

optional choices: unknown[] | null

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

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


default?

optional default: string | null

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

Default answer value, when the model has a preferred fallback.


field

field: string

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

Name of the draft field this question resolves.


id

id: string

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

Unique question identifier — the key to use in the answers map of the follow-up call.


question

question: string

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

The question text to show the user.


type

type: string

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

Question type (e.g., "text", "choice").