BotSharp/src/Plugins/BotSharp.Plugin.WebDriver/LlmContexts/HtmlElementContextOut.cs

19 lines
435 B
C#
Raw Normal View History

2024-01-03 04:43:37 +00:00
using System.Text.Json.Serialization;
namespace BotSharp.Plugin.WebDriver.LlmContexts;
public class HtmlElementContextOut
{
2024-01-23 23:14:57 +00:00
[JsonPropertyName("element_id")]
public string ElementId { get; set; }
2024-02-01 03:29:13 +00:00
[JsonPropertyName("element_name")]
public string ElementName { get; set; }
2024-01-03 04:43:37 +00:00
[JsonPropertyName("tag_name")]
public string TagName { get; set; }
[JsonPropertyName("index")]
public int Index { get; set; }
}