BotSharp/src/Plugins/BotSharp.Plugin.MetaAI/Providers/FaissDb.cs

30 lines
693 B
C#
Raw Normal View History

2023-06-18 02:56:22 +00:00
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();
}
}