mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-10-08 19:40:21 +00:00
Removed deprecated seed & unused frequency penalty parameters
This commit is contained in:
parent
e6ae96f96f
commit
c4953b6ac9
@ -8,14 +8,8 @@ namespace AIStudio.Provider.OpenAI;
|
||||
/// <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="Seed">The seed for the chat completion.</param>
|
||||
/// <param name="FrequencyPenalty">The frequency penalty for the chat completion.</param>
|
||||
public readonly record struct ChatRequest(
|
||||
string Model,
|
||||
IList<Message> Messages,
|
||||
bool Stream,
|
||||
int Seed,
|
||||
|
||||
[Range(-2.0f, 2.0f)]
|
||||
float FrequencyPenalty
|
||||
bool Stream
|
||||
);
|
Loading…
Reference in New Issue
Block a user