Skip to main content
Editor

Context

Give the agent documents to consult while it answers.

Context

The Context section is where you upload documents the agent can consult while forming an answer. It is how you give an agent knowledge specific to your business — manuals, internal policies, reference data — without putting all of it into the system prompt.

Adding documents

  1. Click Add context in the editor's Context section.
  2. The Add context modal opens.
  3. Drag the files onto the marked area, or click to pick them from your computer.
  4. Click Confirm to upload.

Accepted formats

FormatExtension
PDF.pdf
Excel spreadsheet.xlsx
Text.txt
Image.jpeg, .jpg, .png

Limits: 10 MB per file · at most 10 documents per agent.

Processing status

Once uploaded, each document goes through:

StatusWhat it means
Processing…The document is being indexed. Wait for the status to change.
(no indicator)The document was indexed and is available to the agent.
A message in redProcessing failed. Remove the document and try uploading it again.

Removing a document

Click Remove below the document's name. It is only available when the status is ready or error — a document being processed cannot be removed.

info

The agent does not read the whole document on every message. It finds the passages most relevant to the question and answers from those. The more focused and well-structured the document, the better the results.