Attaching a data source
- Open the Agent block in your Flow.
- Inspector → Data sources → Add.
- Pick:
- A whole document collection.
- A specific folder within a collection.
- A tag-filtered slice (e.g., “billing collection where audience:customer”).
- Save.
Attaching a memory space
Same shape, different type. See Memory spaces.Multiple attachments
An Agent can have many attachments. Retrieval runs against all of them and merges the ranked results. Boost/demote per source via weight on each attachment. Example:official-docs(weight 1.0) — canonical answers.community-answers(weight 0.6) — backup when official is silent.internal-runbooks(weight 1.2) — always prefer internal when relevant.
Attach vs. include
Two subtly different modes:- Attach — retrieval-only. Chunks are pulled at inference and mixed into the Agent’s context. Default.
- Include in prompt — the source is always included in the prompt at every turn, without retrieval. Only for very small, always-relevant sources (a one-page policy, a glossary). Uses tokens on every call.