Type Alias DecisionAnswerLike
DecisionAnswerLike:
| {
choice: string;
probabilities?: Record<string, number>;
type: "choice";
}
| { probability: number; type: "boolean" }
| { probabilities?: Record<string, number>; score: number; type: "score" }
| { type: "refusal" }
A decision model's answer to one question, as the AI SDK returns it.