Table of Contents

Class PPTXContentTextExtractionPlugin

Namespace
FoundationaLLM.Plugins.DataPipeline.Plugins.ContentTextExtraction
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 IPluginPackageManager

The package manager for the plugin.

serviceProvider IServiceProvider

The service provider of the dependency injection container.

Properties

Name

protected override string Name { get; }

Property Value

string

Methods

ExtractText(BinaryData)

Extracts text from the provided raw content.

public Task<PluginResult<string>> ExtractText(BinaryData rawContent)

Parameters

rawContent BinaryData

The binary content to extract text from.

Returns

Task<PluginResult<string>>

A PluginResult<T> object with the extracted text.