LiveDecisionChoiceQuestionParam interface

model interface LiveDecisionChoiceQuestionParam

Extends

Properties

choices

The possible answers from which the model selects a choice.

instructions

Instructions for evaluating the question, supplied as text or as text, image, and JSON content parts.

name

An optional question name used to identify its answer in the Decision response.

type

The question type. Always choice.

Property Details

choices

The possible answers from which the model selects a choice.

choices: LiveDecisionChoiceParam[]

Property Value

instructions

Instructions for evaluating the question, supplied as text or as text, image, and JSON content parts.

instructions: string | (LiveDecisionInputTextParam | LiveDecisionInputImageParam | LiveDecisionInputJsonParam)[]

Property Value

name

An optional question name used to identify its answer in the Decision response.

name?: string

Property Value

string

type

The question type. Always choice.

type: "choice"

Property Value

"choice"