Skip to main content
With Include all data, the agent reads whole documents instead of searching for passages. It loads the most recent documents first and keeps going until it reaches the model’s limit or the time range you set. Use it when the answer depends on everything in a set of documents, not only the parts that match the question.

When to use it

Include data works well for recurring summaries and reviews, for example:
  • A weekly digest of a Slack channel.
  • A summary of last month’s meeting notes.
  • A review of every support ticket from yesterday.
For questions that only need a few relevant passages, like “What’s our parental leave policy?”, search is faster and covers more data.

How much data the agent sees

A model can only read a limited amount of text at once, called its context window. When the selected data doesn’t fit, the agent keeps the most recent documents and tells you the cutoff in the answer details, for example “Only includes documents since” a given date. To control what the agent reads, set a time range when you configure the knowledge, like the last 7 days. A shorter range keeps the agent focused on recent content and makes answers faster.

Set up include data

1

Add knowledge

In the Agent Builder, in Capabilities and knowledge, click Add knowledge.
2

Select data sources

Pick a Space and select the folders, channels, or pages the agent needs. Click Next.
3

Choose Include all data

Pick Include all data, set a time range if needed, and describe what the data contains. To narrow the data with labels, click Filters. Save the agent.

Limits

  • Include data doesn’t read tables or spreadsheets. Use table queries for those.
  • On large sources, older documents are left out, and long documents can be only partly included. Narrow the folders or the time range to make sure the agent sees what matters.
  • When the agent uses several knowledge sources in the same step, like search and include data together, they share one budget, so each brings in less. For large sources, give include data its own agent.

Knowledge

Compare the ways an agent can use your data.

Search data sources

Find the most relevant passages instead of loading everything.

Extract data

Pull the same fields out of many documents.

Understanding context windows

Learn how much text a model can read at once.