mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-23 12:10: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="Model">Which model to use for chat completion.</param>
|
||||||
/// <param name="Messages">The chat messages.</param>
|
/// <param name="Messages">The chat messages.</param>
|
||||||
/// <param name="Stream">Whether to stream the chat completion.</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(
|
public readonly record struct ChatRequest(
|
||||||
string Model,
|
string Model,
|
||||||
IList<Message> Messages,
|
IList<Message> Messages,
|
||||||
bool Stream,
|
bool Stream
|
||||||
int Seed,
|
|
||||||
|
|
||||||
[Range(-2.0f, 2.0f)]
|
|
||||||
float FrequencyPenalty
|
|
||||||
);
|
);
|
||||||
Loading…
Reference in New Issue
Block a user