Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Split Long Text Into Chunks

Prev Next
Step Details
Introduced in Version9.10.0
Last Modified in Version9.12.0
LocationAI > Prompt Management

The Split Long Text Into Chucks step is used to build chunks that an LLM can more easily use. The text to use and the size of the chunk are defined in the step's properties. 

Prerequisites 

This step requires the AI Common to be installed before it will be available in the toolbox.


Properties

Inputs

PropertyDescriptionData Type
Input TextThe string to break into smaller chunksString
Max Section LengthThe maximum length a section can be as defined by an integerInt32

Outputs

PropertyDescriptionData Type
Done


OutputNew list of chuncks of textList of String


Example Inputs and Outputs

Input TextMax Section LengthOutput
1234567840: 1234
1: 5678
Hello World50: Hello
1:  Worl


Related Information


AI Common Module