16 lines
365 B
C#
16 lines
365 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace BotSharp.OpenAPI.ViewModels.Knowledges;
|
|
|
|
public class VectorKnowledgeUpdateRequest
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public string Id { get; set; }
|
|
|
|
[JsonPropertyName("text")]
|
|
public string Text { get; set; }
|
|
|
|
[JsonPropertyName("payload")]
|
|
public Dictionary<string, string>? Payload { get; set; }
|
|
}
|