Skip to main content

Text Chunks

TextChunk API | Examples

A text chunk is a simple object with a text property:

type TextChunk = {
text: string;
};

It is intended to also contain other properties depending on your use case. The ModelFusion APIs are designed to handle such objects generically.