Skip to main content

Interface: IUserQuestion

Defined in: internal/human-gate/types.ts:309

One question of a user-question form; mode says how the UI renders it and what the answer carries.

Properties​

freeOption?​

optional freeOption?: boolean

Defined in: internal/human-gate/types.ts:317

The user may type an own answer next to the options; RADIO and CHECK only.


mode​

mode: EUserQuestionMode

Defined in: internal/human-gate/types.ts:313

One option (RADIO), several (CHECK) or a typed answer (FREE_TEXT).


options?​

optional options?: string[]

Defined in: internal/human-gate/types.ts:315

The answers to pick from; RADIO and CHECK only.


text​

text: string

Defined in: internal/human-gate/types.ts:311

The question, in the user's language; repeated in the answer so the model reads both together.