Table of Contents

Interface ITextSplitterService

Namespace
FoundationaLLM.Common.Interfaces
Assembly
FoundationaLLM.Common.dll

Represents a text splitter.

public interface ITextSplitterService
Extension Methods

Methods

SplitPlainText(string)

Splits plain text into multiple chunks.

List<TextChunk> SplitPlainText(string text)

Parameters

text string

The plain text to split.

Returns

List<TextChunk>

A list of TextChunk items containing the text chunks and their sizes in tokens.