Class ProtocolRequestParams
Parameters passed from a service to a protocol for building request bodies.
public class ProtocolRequestParams
- Inheritance
-
ProtocolRequestParams
- Inherited Members
Properties
ExcludeParameters
Parameter keys to exclude from the default request body. Used when a provider rejects certain standard parameters (e.g., reasoning models).
public HashSet<string>? ExcludeParameters { get; set; }
Property Value
ExtraParameters
Additional provider-specific parameters merged into the request body.
public Dictionary<string, object>? ExtraParameters { get; set; }
Property Value
FrequencyPenalty
public float FrequencyPenalty { get; set; }
Property Value
MaxTokens
public uint MaxTokens { get; set; }
Property Value
Messages
public IEnumerable<Message> Messages { get; set; }
Property Value
Model
public string Model { get; set; }
Property Value
PresencePenalty
public float PresencePenalty { get; set; }
Property Value
Stream
public bool Stream { get; set; }
Property Value
StructuredOutputSchemaJson
public string? StructuredOutputSchemaJson { get; set; }
Property Value
SystemMessage
public string? SystemMessage { get; set; }
Property Value
Temperature
public float Temperature { get; set; }
Property Value
TopP
public float TopP { get; set; }