2024-08-23 16:25:44 +00:00
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace BotSharp.OpenAPI.ViewModels.Knowledges;
|
|
|
|
|
|
|
|
|
|
public class VectorKnowledgeCreateRequest
|
|
|
|
|
{
|
|
|
|
|
[JsonPropertyName("text")]
|
|
|
|
|
public string Text { get; set; }
|
|
|
|
|
|
2024-09-12 22:48:47 +00:00
|
|
|
[JsonPropertyName("data_source")]
|
2025-08-08 20:27:38 +00:00
|
|
|
public string DataSource { get; set; } = string.Empty;
|
2024-09-12 22:48:47 +00:00
|
|
|
|
2024-08-23 16:25:44 +00:00
|
|
|
[JsonPropertyName("payload")]
|
2024-09-29 01:00:35 +00:00
|
|
|
public Dictionary<string, object>? Payload { get; set; }
|
2024-08-23 16:25:44 +00:00
|
|
|
}
|