2023-08-28 03:50:10 +00:00
|
|
|
using System.Text.Json;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.Abstraction.Routing.Models;
|
|
|
|
|
|
|
|
|
|
public class RetrievalArgs : RoutingArgs
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("question")]
|
|
|
|
|
public string Question { get; set; }
|
|
|
|
|
|
2023-08-28 15:58:35 +00:00
|
|
|
[JsonPropertyName("answer")]
|
|
|
|
|
public string Answer { get; set; }
|
|
|
|
|
|
2023-09-09 20:13:19 +00:00
|
|
|
[JsonPropertyName("reason")]
|
|
|
|
|
public string Reason { get; set; }
|
2023-08-28 03:50:10 +00:00
|
|
|
|
|
|
|
|
[JsonPropertyName("args")]
|
|
|
|
|
public JsonDocument Arguments { get; set; }
|
|
|
|
|
}
|