Function that splits an html string into chunks. The html string will be split into chunks based on the number of characters in the string and header tags.
Example:
const data = await trieve.splitChunkHtml({ chunk_html: "<p>Some HTML content</p>",}); Copy
const data = await trieve.splitChunkHtml({ chunk_html: "<p>Some HTML content</p>",});
Optional
Function that splits an html string into chunks. The html string will be split into chunks based on the number of characters in the string and header tags.
Example: