Interface IContentTextPartitioningPlugin
- Namespace
- FoundationaLLM.Common.Interfaces.Plugins
- Assembly
- FoundationaLLM.Common.dll
Defines the interface for a content text partitioning plugin.
public interface IContentTextPartitioningPlugin
- Extension Methods
Methods
PartitionText(string, string)
Partitions the provided text into chunks.
Task<PluginResult<List<DataPipelineContentItemContentPart>>> PartitionText(string contentItemCanonicalId, string text)
Parameters
contentItemCanonicalId
stringThe canonical identifier of the content item.
text
stringThe text to be partitioned.
Returns
- Task<PluginResult<List<DataPipelineContentItemContentPart>>>
A list of text chunks.