Table of Contents

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 string

The canonical identifier of the content item.

text string

The text to be partitioned.

Returns

Task<PluginResult<List<DataPipelineContentItemContentPart>>>

A list of text chunks.