Skip to content

Parsing & Chunking

Copy page

Chunking decides what retrieval can ever find. A parser that flattens a table into prose, or a chunker that splits mid-sentence, caps the quality of every answer downstream β€” no store or embedding model recovers it.

Tool id Vendor Credentials Status Divinci usage
@divinci-ai/langextract
Sentence-aware text chunking with three strategies respecting sentence boundaries. Fast, in-process β€” no external API calls. Built on Divinci's TypeScript port (@divinci-ai/langextract-ts) of Google's LangExtract.
Google LangExtract Divinci-managed available β€”
@divinci-ai/liteparse-langextract
LiteParse (LlamaIndex) parses the source document locally (layout, reading order, bounding boxes), then LangExtract (Google; Divinci TypeScript port) sentence-chunks the extracted text. Best of both: faithful binary-document parsing plus sentence-aware chunks.
LlamaIndex LiteParse Divinci-managed available β€”
@divinci-ai/openparse
[DEPRECATED] Use LangExtract instead. Open-Parse semantically converts PDF files to text chunks but has been deprecated due to memory limits on large PDFs.
OpenParse Divinci-managed ⚠️ deprecated β€”
@divinci-ai/record-chunker
One chunk per record, split on an explicit delimiter. For pre-chunked structured corpora (tables, catalogues, record exports) where sentence- or layout-based chunking would destroy row boundaries.
Divinci AI Divinci-managed available β€”
@unstructured
Unstructured is a tool for converting raw files to text chunks.
Unstructured BYOK available β€”

Usage figures for this category are not collected yet β€” the weekly job populates them.

LangExtract is the default for documents: it splits text on sentence boundaries rather than at a fixed character count, in-process and with no model call. It is built on Divinci's TypeScript port, @divinci-ai/langextract-ts, of Google's open-source LangExtract. LiteParse + LangExtract is for binary documents such as PDFs: LiteParse (from LlamaIndex) parses layout and reading order locally, then LangExtract chunks the extracted text. The record chunker is for structured rows β€” products, records, catalog entries β€” where one item is one chunk and splitting it would be wrong. Unstructured is the BYOK option for teams already standardised on it.

Tool id Vendor Credentials Status Divinci usage
@divinci-ai/gim-cleaner
Removes garbage text, fixes incomplete text, tracks and replaces pronouns and splits mixed text
Divinci AI Divinci-managed available β€”

Usage figures for this category are not collected yet β€” the weekly job populates them.

Cleaning runs before chunking and removes the parts of a page that are not content β€” navigation, cookie banners, footers repeated on every page.

Tool id Vendor Credentials Status Divinci usage
@divinci-ai/flag-chunks
Analyzes retrieved context chunks and flags problematic ones for removal (contradictions, irrelevant content, outdated info, etc.)
Divinci AI Divinci-managed available β€”
@divinci-ai/generate-chunk
Will use an llm to generate new chunks to fix low scores. WARNING! This may cause hallucinations.
Divinci AI Divinci-managed available β€”
@divinci-ai/jev-select-passage
Fixes low scores only with text already in your corpus: Jev picks the passage that states the answer and it is added verbatim. When no passage states it, the question is escalated to a human instead of being filled.
Divinci AI Divinci-managed available β€”

Usage figures for this category are not collected yet β€” the weekly job populates them.

These are the tools behind chunk-level repair β€” flagging chunks that look wrong and generating replacements β€” rather than part of the ingest path.