using System.Text.Json.Serialization; using AIStudio.Provider.OpenAI; namespace AIStudio.Provider.Groq; /// /// The Groq chat request model. /// /// Which model to use for chat completion. /// The chat messages. /// Whether to stream the chat completion. /// The seed for the chat completion. public readonly record struct ChatRequest( string Model, IList Messages, bool Stream, int Seed ) { [JsonExtensionData] public Dictionary AdditionalApiParameters { get; init; } }