shopping-assistant-api/ShoppingAssistantApi.Application/Models/OpenAi/ChatCompletionRequest.cs
2023-11-15 15:15:48 -05:00

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;
}