fix file content extractor mechanism ...

This commit is contained in:
2026-10-02 00:07:58 +03:30
parent f32972b55f
commit 4521a53734
13 changed files with 157 additions and 83 deletions
+13 -1
View File
@@ -20,7 +20,9 @@ using xFileService.Interfaces;
using Microsoft.Extensions.AI;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using xAiApi.Interfaces.Extractors;
using System.ClientModel.Primitives;
using xCommons.Providers;
namespace xAiApi.Providers
{
@@ -37,9 +39,19 @@ namespace xAiApi.Providers
IXFileProvider fileProvider,
IXAiDataProvider dataProvider,
XAiApiConfiguration configuration,
XValidationProvider validationProvider,
ILogger<XAiEmbeddingServiceBase> logger,
IXFileContentExtractor fileContentExtractor,
string embeddingModelName = XAiApiConstants.XAiEmbeddingModelName
) : base(fileProvider, dataProvider, logger, configuration, null)
) : base(
fileProvider,
dataProvider,
logger,
configuration,
validationProvider,
fileContentExtractor,
null
)
{
//
// Prepare Embedding Model Descriptor ...