Class PPTXContentTextExtractionPlugin
- Assembly
- FoundationaLLM.DataPipelinePlugins.dll
Implements the PPTX Content Text Extraction Plugin.
public class PPTXContentTextExtractionPlugin : PluginBase, IContentTextExtractionPlugin
- Inheritance
-
PPTXContentTextExtractionPlugin
- Implements
- Inherited Members
- Extension Methods
Constructors
PPTXContentTextExtractionPlugin(Dictionary<string, object>, IPluginPackageManager, IServiceProvider)
Implements the PPTX Content Text Extraction Plugin.
public PPTXContentTextExtractionPlugin(Dictionary<string, object> pluginParameters, IPluginPackageManager packageManager, IServiceProvider serviceProvider)
Parameters
pluginParameters
Dictionary<string, object>The dictionary containing the plugin parameters.
packageManager
IPluginPackageManagerThe package manager for the plugin.
serviceProvider
IServiceProviderThe service provider of the dependency injection container.
Properties
Name
protected override string Name { get; }
Property Value
Methods
ExtractText(BinaryData)
Extracts text from the provided raw content.
public Task<PluginResult<string>> ExtractText(BinaryData rawContent)
Parameters
rawContent
BinaryDataThe binary content to extract text from.
Returns
- Task<PluginResult<string>>
A PluginResult<T> object with the extracted text.