VoiceAgentLiveDecisionItem type

Ett användarmeddelande, funktionsanrop, anpassat verktygsanrop eller verktygsresultat som läggs till i en beslutskontext.

type VoiceAgentLiveDecisionItem =
  | VoiceAgentLiveDecisionMessage
  | Extract<
      LiveDecisionInputItemParamUnion,
      { type: Exclude<LiveDecisionInputItemParamUnion["type"], "message"> }
    >