Instead of chunking first and embedding each chunk in isolation, a long-context embedding model processes the whole document, and chunk embeddings are produced by pooling the token embeddings within each chunk span.
Each chunk embedding therefore carries context from the rest of the document (for example what a pronoun refers to).
It needs a long-context embedding model and more compute per document, but avoids per-chunk LLM calls.
Loading…