Home Learn Stage 1

Chunking and embeddings

Answer engines do not read your page as one piece. They split it into passages (chunks) and turn each passage into numbers (an embedding) that capture its meaning, then fetch the passages closest in meaning to the question.

Read the 3 best sources

In short

  • A passage should make sense when lifted out on its own.
  • Meaning is matched, not exact words.
  • Do not chop your writing into fragments for machines; clear sections are enough.

From your page to a retrieved passage

  1. Your page
  2. Split into passages Chunks
  3. Each passage becomes numbers An embedding
  4. The question becomes numbers too
  5. Closest passages are fetched
Source: Based on the Wix Studio and Elastic guides

Go deeper

The best sources we found on this topic. Each opens on the publisher’s site.