fix file content extractor mechanism ...
This commit is contained in:
+4
-3
@@ -26,6 +26,7 @@ using System.Collections.Generic;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using xAiApi.Interfaces.Extractors;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
@@ -187,9 +188,9 @@ namespace xAiApi
|
||||
|
||||
//
|
||||
// Register File Content Extractors ...
|
||||
services.AddSingleton<IXFileContentExtractor, XPdfContentExtractor>();
|
||||
services.AddSingleton<IXFileContentExtractor, XPlainTextContentExtractor>();
|
||||
services.AddSingleton<IXFileContentExtractor, XCompositeFileContentExtractor>();
|
||||
// services.AddSingleton<IXFileContentExtractor, XPdfContentExtractor>();
|
||||
// services.AddSingleton<IXFileContentExtractor, XPlainTextContentExtractor>();
|
||||
services.AddSingleton<IXFileContentExtractor, XFileContentExtractor>();
|
||||
|
||||
//
|
||||
// Register Default Ai Service ...
|
||||
|
||||
Reference in New Issue
Block a user