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.
Divinci AI Divinci-managed available β€”
@divinci-ai/liteparse-langextract
LiteParse parses the source document locally (layout, reading order, bounding boxes), then LangExtract sentence-chunks the extracted text. Best of both: faithful binary-document parsing plus sentence-aware chunks.
Divinci AI 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 uses a model to segment content along semantic boundaries rather than at a fixed character count. LiteParse + LangExtract is the lighter-weight pairing for content that is already close to plain 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 β€”

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.