fix file content extractor mechanism ...
This commit is contained in:
@@ -4,6 +4,8 @@ using xAiModels.Interfaces;
|
||||
using xAiApi.Configurations;
|
||||
using xFileService.Interfaces;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using xAiApi.Interfaces.Extractors;
|
||||
using xCommons.Providers;
|
||||
|
||||
namespace xAiApi.Providers
|
||||
{
|
||||
@@ -11,14 +13,18 @@ namespace xAiApi.Providers
|
||||
{
|
||||
public XDefaultEmbeddingService(
|
||||
IXFileProvider fileProvider,
|
||||
IXAiDataProvider dataProvider,
|
||||
XAiApiConfiguration configuration,
|
||||
ILogger<XDefaultEmbeddingService> logger
|
||||
IXAiDataProvider dataProvider,
|
||||
XAiApiConfiguration configuration,
|
||||
XValidationProvider validationProvider,
|
||||
ILogger<XDefaultEmbeddingService> logger,
|
||||
IXFileContentExtractor fileContentExtractor
|
||||
) : base(
|
||||
fileProvider,
|
||||
dataProvider,
|
||||
configuration,
|
||||
dataProvider,
|
||||
configuration,
|
||||
validationProvider,
|
||||
logger,
|
||||
fileContentExtractor,
|
||||
XAiApiConstants.XAiEmbeddingModelName
|
||||
)
|
||||
{ }
|
||||
|
||||
Reference in New Issue
Block a user