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-06 03:19:36 +00:00
|
|
|
[JsonPropertyName("response")]
|
|
|
|
|
public string Response { get; set; }
|
2023-08-28 03:50:10 +00:00
|
|
|
|
|
|
|
|
[JsonPropertyName("args")]
|
|
|
|
|
public JsonDocument Arguments { get; set; }
|
|
|
|
|
}
|