30 lines
693 B
C#
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();
|
||
|
|
}
|
||
|
|
}
|