Chunk
Split HTML Content into Chunks
This endpoint receives a single html string and splits it into chunks based on the headings and body content. The headings are split based on heading html tags. chunk_html has a maximum size of 256Kb.
POST
Body
application/json
JSON request payload to perform RAG on some chunks (chunks)
The HTML content to be split into chunks
Text strings to remove from body when creating chunks for each page
Text strings to remove from headings when creating chunks for each page
Response
200
application/json
This will be a JSON response of the chunks split from the HTML content with the headings and body
Was this page helpful?