using BotSharp.Abstraction.VectorStorage.Models; namespace BotSharp.Abstraction.VectorStorage; public interface IVectorDb { string Name { get; } Task> GetCollections(); Task> GetCollectionData(string collectionName, VectorFilter filter); Task CreateCollection(string collectionName, int dim); Task Upsert(string collectionName, Guid id, float[] vector, string text, Dictionary? payload = null); Task> Search(string collectionName, float[] vector, IEnumerable? fields, int limit = 5, float confidence = 0.5f, bool withVector = false); Task DeleteCollectionData(string collectionName, Guid id); }