2024-07-16 19:13:29 +00:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.Plugin.FileHandler.LlmContexts;
|
|
|
|
|
|
|
|
|
|
public class LlmContextIn
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("user_request")]
|
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
|
|
|
public string? UserRequest { get; set; }
|
2024-07-19 19:18:22 +00:00
|
|
|
|
|
|
|
|
[JsonPropertyName("image_description")]
|
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
|
|
|
public string? ImageDescription { get; set; }
|
2024-12-12 23:20:27 +00:00
|
|
|
|
|
|
|
|
//[JsonPropertyName("image_url")]
|
|
|
|
|
//[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
|
|
|
//public string? ImageUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("image_urls")]
|
|
|
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
|
|
|
public IEnumerable<string>? ImageUrls { get; set; }
|
2024-07-16 19:13:29 +00:00
|
|
|
}
|