Inline vs. Knowledge Source
Brains vs. Document Uploads
Ask whether the dataset changes with every run.- Stable and shared across runs becomes a Brain. Methodology guides, scoring rubrics, product catalogs, regulation texts. The designer attaches it once; every run uses it.
- Different on every run becomes a Document Upload. The CV to screen, the contract to review, the RFP to answer. The end user provides it at runtime.
- Fixed at block level: this block always searches Brain X. This is the normal case.
- As a user-selectable input: let the user pick one file from dataset X.
Every search needs context
A block that searches a Knowledge Source retrieves what the prompt asks for, nothing more. A prompt that just says “analyze the document” retrieves arbitrary extracts. Always give the retrieval something to aim at.Vague prompts produce vague results here as everywhere else on the platform. See Brains for how retrieval works under the hood.
Next
Passing Data Safely Between Blocks
Routing the hand-offs between blocks, and how to get them right.