mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 22:49:07 +00:00
17 lines
632 B
C#
17 lines
632 B
C#
namespace AIStudio.Provider.Mistral;
|
|
|
|
/// <summary>
|
|
/// The OpenAI chat request model.
|
|
/// </summary>
|
|
/// <param name="Model">Which model to use for chat completion.</param>
|
|
/// <param name="Messages">The chat messages.</param>
|
|
/// <param name="Stream">Whether to stream the chat completion.</param>
|
|
/// <param name="RandomSeed">The seed for the chat completion.</param>
|
|
/// <param name="SafePrompt">Whether to inject a safety prompt before all conversations.</param>
|
|
public readonly record struct ChatRequest(
|
|
string Model,
|
|
IList<RegularMessage> Messages,
|
|
bool Stream,
|
|
int RandomSeed,
|
|
bool SafePrompt = false
|
|
); |