25 lines
695 B
C#
25 lines
695 B
C#
|
|
using BotSharp.Abstraction.VectorStorage.Models;
|
||
|
|
|
||
|
|
namespace BotSharp.Abstraction.Knowledges.Models;
|
||
|
|
|
||
|
|
public class KnowledgeDocMetaData
|
||
|
|
{
|
||
|
|
[JsonPropertyName("collection")]
|
||
|
|
public string Collection { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("file_name")]
|
||
|
|
public string FileName { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("content_type")]
|
||
|
|
public string ContentType { get; set; }
|
||
|
|
|
||
|
|
[JsonPropertyName("vector_data_ids")]
|
||
|
|
public IEnumerable<string> VectorDataIds { get; set; } = new List<string>();
|
||
|
|
|
||
|
|
[JsonPropertyName("create_date")]
|
||
|
|
public DateTime CreateDate { get; set; } = DateTime.UtcNow;
|
||
|
|
|
||
|
|
[JsonPropertyName("create_user_id")]
|
||
|
|
public string CreateUserId { get; set; }
|
||
|
|
}
|