@elizaos/core v0.25.8 / splitChunks
splitChunks(
content
,chunkSize
,bleed
):Promise
<string
[]>
Splits content into chunks of specified size with optional overlapping bleed sections
• content: string
The text content to split into chunks
• chunkSize: number
= 1500
The maximum size of each chunk in tokens
• bleed: number
= 100
Number of characters to overlap between chunks (default: 100)
Promise
<string
[]>
Promise resolving to array of text chunks with bleed sections