Skip to content

EvaluateOptions

Namespace: Vercel.AI

public sealed class EvaluateOptions

Evaluation options.

Inheritance: object

View source

public string Candidate { get; set; }

Candidate text.

Value: string

View source

[Obsolete("Use RubricModel instead.")]
public IEvaluationModel? EvaluationModel { get; set; }

Deprecated name of RubricModel. Setting it sets RubricModel.

Value: IEvaluationModel

View source

public ILanguageModel? Model { get; set; }

Language model used when RubricModel is null.

Value: ILanguageModel

View source

public string? ModelId { get; set; }

Gateway model id used when no model instance is set.

Value: string

View source

public string Rubric { get; set; }

Rubric.

Value: string

View source

public IRubricModel? RubricModel { get; set; }

Dedicated rubric model.

Value: IRubricModel

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product