Viewing Knowledge Base Chunks

Prev Next

When a knowledge base processes a data source, it splits the content into chunks. These are what a flow or an AI agent retrieves when it answers. The Chunks page shows every chunk that a document or a web page produced. Use it to check what your chunking settings produced, or to trace a poor answer back to the chunk it came from. The Knowledge Base Report shows which chunks a call retrieved.

Chunking settings are part of the knowledge base, see Creating a Knowledge Base. To add sources, see Adding Documents and Adding a Website.

You can view chunks in both the draft and the published version. Anyone who can view the project can view them, including users who can open the knowledge base only read-only.

The examples use ApplianceBrands, a knowledge base holding support content for two appliance brands, Vantera and Solmar, with an FAQ file named appliance-faq-with-tags.xlsx.


Opening the chunks of a document

  1. Open the knowledge base. It opens on its Data Source section.
  2. On the document's row, click the magnifier icon (View chunks). It sits next to the download and delete icons, and works once the document is Indexed.

The Data Source list, with the View chunks tooltip on the row of an Indexed FAQ file


Opening the chunks of a website page

A website has chunks for each page that was crawled, so you choose the page first.

  1. In the Data Source section, click the magnifier icon on the website's row. The Indexed URLs page opens and lists every crawled page, with the number of URLs in parentheses.
  2. On the page you want, click the magnifier icon (View chunks).

The Indexed URLs page for https://www.sestek.com, with the View chunks tooltip on one URL row


Reading the chunks

The Chunks page for appliance-faq-with-tags.xlsx, showing eight chunks, each holding a question and its answer

1. Title: Chunks, followed by the source's name and the number of chunks in parentheses. For a web page, the name is the page's URL, shown as a link.

2. Search in chunks: Filters the list to the chunks that contain your text, as described below.

3. Chunks: One numbered block per chunk, 20 per page. A long chunk is cut at six lines. Click its chevron to read the rest.

The back button returns you to Data Sources or to Indexed URLs, depending on where you came from.

The page shows the source as it was last processed. Chunks cannot be edited or deleted here.

Searching

Type in Search in chunks. The list shows only the chunks that contain the text and keeps their original numbers. Matches are highlighted, and a count shows how many chunks matched out of the total. The search ignores case. A collapsed chunk whose match falls below its first six lines is shown starting at the sentence with the match.

In the example, searching for Vantera leaves 4 of the 8 chunks.

The same Chunks page searched for Vantera, showing 4 of 8 matched with the matches highlighted


What a chunk holds

What you see depends on the type of data source:

Data source What a chunk holds
Text-Only Documents A part of the file. The whole file is split into chunks.
Advanced Documents A part of one page. The document is split by page first, then into chunks.
FAQ Data One question and its answer, together.
Data Table An AI-written summary of one sheet, not the rows themselves. The rows are still used when answering.
Websites A part of one crawled page.

All of a source's chunks appear as one numbered list. The page does not show which page, sheet or row a chunk came from.


If the chunks do not appear

What you see What to do
The View chunks icon is greyed out The document is not Indexed yet. Wait until its status is Indexed. For a website, the Indexed URLs page is available once the website is Indexed.
A message that no chunks were found for this data source The source produced no chunks.
A message that the chunks could not be loaded Click Try Again. A very large source can take a while to load, and after about a minute the page shows this message.