Skip to main content
Build your app

Add files and context

Give agents reference material, like a style guide or policy.

Last updated 10 days ago

Agents do better work when they can read what a person would use for the job, such as your email preferences, example replies, or refund policy.

Add it toUsed by
The appEvery agent in the app
An agentThat agent only
A run's inputThat run only

Upload a file

  1. Open the app's Settings, or an agent's Settings tab.
  2. Under Data, select Upload file.
  3. Tell Assistant how to use it, for example: Use example-replies.md as a model for tone.

Uploading a file with the same name replaces the old one. The app owner can manage files.

Supported files

PDF, text (Markdown, CSV, JSON, YAML, XML), Word (.docx), Excel (.xlsx), JPEG, PNG, GIF, and WebP, up to 50 MB each.

Passwords and API keys

Don't put credentials in files, instructions, or Assistant. Use Secrets instead.