adding File Content Extraction Services ...

This commit is contained in:
2026-10-01 01:16:24 +03:30
parent aac3eb92c1
commit f32972b55f
6 changed files with 225 additions and 2 deletions
+6
View File
@@ -185,6 +185,12 @@ namespace xAiApi
// Register XAiApi Configuration ...
services.AddXAiApiConfiguration(Configuration);
//
// Register File Content Extractors ...
services.AddSingleton<IXFileContentExtractor, XPdfContentExtractor>();
services.AddSingleton<IXFileContentExtractor, XPlainTextContentExtractor>();
services.AddSingleton<IXFileContentExtractor, XCompositeFileContentExtractor>();
//
// Register Default Ai Service ...
services.AddScoped<IXDefaultAiService, XDefaultAiService>();