BotSharp/src/Infrastructure/BotSharp.Abstraction/VectorStorage/Models/VectorCollectionData.cs
2024-09-22 15:05:26 -05:00

11 lines
339 B
C#

namespace BotSharp.Abstraction.VectorStorage.Models;
public class VectorCollectionData
{
public string Id { get; set; }
public Dictionary<string, string> Data { get; set; } = new();
public double? Score { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public float[]? Vector { get; set; }
}