add support for OCR ...

This commit is contained in:
2026-10-03 22:26:03 +03:30
parent 7cad889cd0
commit 70c2d5a649
5 changed files with 102 additions and 21 deletions
-8
View File
@@ -199,14 +199,6 @@ namespace xAiApi
//
services.AddSingleton<IXFileContentExtractor, XFileContentExtractor>();
// services.AddSingleton(sp =>
// {
// //
// var extractors = sp.GetServices<IXFileContentExtractor>();
// return new XFileContentExtractor(extractors);
// });
// services.AddSingleton<IXFileContentExtractor>(sp =>
// sp.GetRequiredService<XFileContentExtractor>());
//
// Register Default Ai Service ...