adding vector model enabling and also test all using OpenAI model ...
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.AI;
|
||||
using OllamaSharp;
|
||||
|
||||
namespace xAiApi.Interfaces
|
||||
@@ -37,5 +38,7 @@ namespace xAiApi.Interfaces
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
OllamaApiClient GetEmbeddingClient();
|
||||
|
||||
IEmbeddingGenerator<string, Embedding<float>> GetEmbeddingGenerator();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user