Table of Contents

Class ProtocolRequestParams

Namespace
Mythosia.AI.Protocols
Assembly
Mythosia.AI.dll

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

HashSet<string>

ExtraParameters

Additional provider-specific parameters merged into the request body.

public Dictionary<string, object>? ExtraParameters { get; set; }

Property Value

Dictionary<string, object>

FrequencyPenalty

public float FrequencyPenalty { get; set; }

Property Value

float

MaxTokens

public uint MaxTokens { get; set; }

Property Value

uint

Messages

public IEnumerable<Message> Messages { get; set; }

Property Value

IEnumerable<Message>

Model

public string Model { get; set; }

Property Value

string

PresencePenalty

public float PresencePenalty { get; set; }

Property Value

float

Stream

public bool Stream { get; set; }

Property Value

bool

StructuredOutputSchemaJson

public string? StructuredOutputSchemaJson { get; set; }

Property Value

string

SystemMessage

public string? SystemMessage { get; set; }

Property Value

string

Temperature

public float Temperature { get; set; }

Property Value

float

TopP

public float TopP { get; set; }

Property Value

float