adding vector model enabling and also test all using OpenAI model ...

This commit is contained in:
2026-09-26 01:24:19 +03:30
parent 22de433023
commit 9afa413c6f
4 changed files with 112 additions and 22 deletions
+3
View File
@@ -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();
}
}