BotSharp/src/Infrastructure/BotSharp.Core/Plugins/LLamaSharp/TextEmbeddingProvider.cs

20 lines
419 B
C#
Raw Normal View History

2023-06-27 19:17:53 +00:00
using BotSharp.Abstraction.MLTasks;
namespace BotSharp.Core.Plugins.LLamaSharp;
public class TextEmbeddingProvider : ITextEmbedding
{
public int Dimension => throw new NotImplementedException();
private readonly LlamaAiModel _llama;
public TextEmbeddingProvider(LlamaAiModel llama)
{
_llama = llama;
}
public float[] GetVector(string text)
{
return new float[0];
}
}