BotSharp/src/Plugins/BotSharp.Plugin.AudioHandler/LlmContexts/LlmContextIn.cs

20 lines
551 B
C#
Raw Normal View History

2024-08-17 03:39:32 +00:00
using System.Text.Json.Serialization;
namespace BotSharp.Plugin.AudioHandler.LlmContexts;
public class LlmContextIn
{
[JsonPropertyName("user_request")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? UserRequest { get; set; }
[JsonPropertyName("is_need_summary")]
public bool IsNeedSummary { get; set; }
[JsonPropertyName("title")]
public string? Title { get; set; } = string.Empty;
[JsonPropertyName("file_ids")]
public List<string> FileIds { get; set; } = new List<string>();
}