LiveDecisionScoreQuestionParam interface

model interface LiveDecisionScoreQuestionParam

Extends

Properties

instructions

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

levels

The scoring levels against which the model evaluates the question.

name

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

type

The question type. Always score.

Property Details

instructions

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

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

Property Value

levels

The scoring levels against which the model evaluates the question.

levels: LiveDecisionScoreLevelParam[]

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

type: "score"

Property Value

"score"