LanguageModelCallOptionsInput
Namespace: Vercel.AI.Util
public sealed class LanguageModelCallOptionsInputModel call options validated by LanguageModelCallPreparation.
Inheritance: object
Properties
Section titled “Properties”FrequencyPenalty
Section titled “FrequencyPenalty”public double? FrequencyPenalty { get; set; }Frequency penalty.
Value: double?
MaxOutputTokens
Section titled “MaxOutputTokens”public double? MaxOutputTokens { get; set; }Maximum output tokens. Must be an integer greater than or equal to 1 when set.
Value: double?
PresencePenalty
Section titled “PresencePenalty”public double? PresencePenalty { get; set; }Presence penalty.
Value: double?
Reasoning
Section titled “Reasoning”public string? Reasoning { get; set; }Provider reasoning options.
Value: string
public double? Seed { get; set; }Random seed. Must be an integer when set.
Value: double?
StopSequences
Section titled “StopSequences”public IReadOnlyList<string>? StopSequences { get; set; }Stop sequences.
Value: IReadOnlyList<string>
Temperature
Section titled “Temperature”public double? Temperature { get; set; }Sampling temperature.
Value: double?
public double? TopK { get; set; }Top-k cutoff.
Value: double?
public double? TopP { get; set; }Nucleus sampling probability.
Value: double?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product