2023-06-13 03:27:31 +00:00
|
|
|
namespace BotSharp.Core.Knowledges;
|
|
|
|
|
|
2023-06-18 02:56:22 +00:00
|
|
|
public class KnowledgeBase : IVectorDb
|
2023-06-13 03:27:31 +00:00
|
|
|
{
|
2023-06-18 18:15:00 +00:00
|
|
|
public Task CreateCollection(string collectionName, int dim)
|
2023-06-18 02:56:22 +00:00
|
|
|
{
|
|
|
|
|
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();
|
|
|
|
|
}
|
2023-06-13 03:27:31 +00:00
|
|
|
}
|