Files

29 lines
690 B
C#

using System;
using System.Text.Json.Serialization;
namespace AxCopilot.Models;
public class CustomPresetEntry
{
[JsonPropertyName("id")]
public string Id { get; set; } = Guid.NewGuid().ToString("N").Substring(0, 8);
[JsonPropertyName("label")]
public string Label { get; set; } = "";
[JsonPropertyName("description")]
public string Description { get; set; } = "";
[JsonPropertyName("systemPrompt")]
public string SystemPrompt { get; set; } = "";
[JsonPropertyName("color")]
public string Color { get; set; } = "#6366F1";
[JsonPropertyName("symbol")]
public string Symbol { get; set; } = "\ue713";
[JsonPropertyName("tab")]
public string Tab { get; set; } = "Chat";
}