shopping-assistant-api/ShoppingAssistantApi.Application/Models/OpenAi/ChatCompletionRequest.cs
2023-10-14 02:12:25 +00:00

15 lines
356 B
C#

namespace ShoppingAssistantApi.Application.Models.OpenAi;
public class ChatCompletionRequest
{
public string Model { get; set; } = "gpt-3.5-turbo";
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;
}