mirror of
https://github.com/Shchoholiev/shopping-assistant-api.git
synced 2025-04-04 16:49:36 +00:00
15 lines
361 B
C#
15 lines
361 B
C#
namespace ShoppingAssistantApi.Application.Models.OpenAi;
|
|
|
|
public class ChatCompletionRequest
|
|
{
|
|
public string Model { get; set; } = "gpt-4-1106-preview";
|
|
|
|
public List<OpenAiMessage> Messages { get; set; }
|
|
|
|
public double Temperature { get; set; } = 0.7;
|
|
|
|
public int MaxTokens { get; set; } = 256;
|
|
|
|
public bool Stream { get; set; } = false;
|
|
}
|