BotSharp/src/Plugins/BotSharp.Plugin.MetaAI/Providers/FaissDb.cs
2023-06-17 21:56:22 -05:00

30 lines
693 B
C#

using BotSharp.Abstraction.Knowledges;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BotSharp.Plugin.MetaAI.Providers;
public class FaissDb : IVectorDb
{
public Task CreateCollection(string collectionName)
{
throw new NotImplementedException();
}
public Task<List<string>> GetCollections()
{
throw new NotImplementedException();
}
public Task<List<int>> Search(string collectionName, float[] vector, int limit = 10)
{
throw new NotImplementedException();
}
public Task Upsert(string collectionName, int id, float[] vector)
{
throw new NotImplementedException();
}
}