using System.ComponentModel.DataAnnotations; namespace AIStudio.Provider.OpenAI; /// /// The OpenAI 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. /// The frequency penalty for the chat completion. public readonly record struct ChatRequest( string Model, IList Messages, bool Stream, int Seed, [Range(-2.0f, 2.0f)] float FrequencyPenalty );