25 lines
746 B
C#
25 lines
746 B
C#
using System.Text.Json;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Serialization;
|
|
|
|
namespace BLAIzor.Models
|
|
{
|
|
public class ChatGPTRequest
|
|
{
|
|
[JsonProperty("model")]
|
|
public string Model { get; set; } = "gpt-4o-mini";
|
|
[JsonProperty("temperature")]
|
|
public double Temperature { get; set; } = 0.2;
|
|
[JsonProperty("messages")]
|
|
public Message[] Messages { get; set; } = Array.Empty<Message>();
|
|
[JsonProperty("stream")]
|
|
public bool Stream { get; set; } = true;
|
|
//[JsonProperty("reasoning_effort")]
|
|
//public string ReasoningEffort { get; set; } = "minimal";
|
|
//[JsonProperty("verbosity")]
|
|
//public string Verbosity { get; set; } = "high";
|
|
}
|
|
|
|
}
|
|
|