AnthropicEvaluationAnswer
Namespace: Vercel.AI.Anthropic
public sealed class AnthropicEvaluationAnswerOne parsed answer.
Inheritance: object
Constructors
Section titled “Constructors”AnthropicEvaluationAnswer(string, string?, double?, double?)
Section titled “AnthropicEvaluationAnswer(string, string?, double?, double?)”public AnthropicEvaluationAnswer(string type, string? choice, double? score, double? probability)Creates an answer.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
choice |
string | |
score |
double? | |
probability |
double? |
Properties
Section titled “Properties”Choice
Section titled “Choice”public string? Choice { get; }Choice label.
Value: string
Probability
Section titled “Probability”public double? Probability { get; }Boolean probability.
Value: double?
public double? Score { get; }Score.
Value: double?
public string Type { get; }choice, score, or boolean.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product