Class SemanticContentTextPartitioningPlugin
- Assembly
 - FoundationaLLM.DataPipelinePlugins.dll
 
Implements the Semantic Content Text Partitioning plugin.
public class SemanticContentTextPartitioningPlugin : PluginBase, IContentTextPartitioningPlugin
  - Inheritance
 - 
      
      
      SemanticContentTextPartitioningPlugin
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
SemanticContentTextPartitioningPlugin(Dictionary<string, object>, IPluginPackageManager, IPluginPackageManagerResolver, IServiceProvider)
Implements the Semantic Content Text Partitioning plugin.
public SemanticContentTextPartitioningPlugin(Dictionary<string, object> pluginParameters, IPluginPackageManager packageManager, IPluginPackageManagerResolver packageManagerResolver, IServiceProvider serviceProvider)
  Parameters
pluginParametersDictionary<string, object>The dictionary containing the plugin parameters.
packageManagerIPluginPackageManagerThe package manager for the plugin.
packageManagerResolverIPluginPackageManagerResolverThe package manager resolver for the plugin.
serviceProviderIServiceProviderThe service provider of the dependency injection container.
Properties
Name
protected override string Name { get; }
  Property Value
Methods
PartitionText(string, string)
Partitions the provided text into chunks.
public Task<PluginResult<List<DataPipelineContentItemContentPart>>> PartitionText(string contentItemCanonicalId, string text)
  Parameters
contentItemCanonicalIdstringThe canonical identifier of the content item.
textstringThe text to be partitioned.
Returns
- Task<PluginResult<List<DataPipelineContentItemContentPart>>>
 A list of text chunks.