// CONTENTS Part 02 · Talk and think

// PART 02

Attachments and memory

Chapter 12 / 60 3 min read English Part 02 of 15

Two mechanisms give the assistant continuity: attachments bring outside material into the turn, and memory carries facts between turns. This chapter covers both.

Attachments

Kind Behaviour
Local files The attach control accepts multiple files in one turn; each is staged under the bot’s Drive inbox/ folder
Drive files The Drive button browses the bot’s Drive and attaches the chosen file to the same payload
Images Described by the platform’s vision service, so “what is in this photo” works in the same turn
Audio Transcribed server-side; the transcript enters the conversation like typed text
Documents Extracted text accompanies the file, so summaries and questions work immediately
Camera capture One frame from the live preview, treated as an image attachment

Inbound attachments from channels behave the same way: a WhatsApp photo arrives as a marker such as [image] inbox/a1b2.jpg plus its caption, and the file itself is stored in Drive.

Memory scopes

Memory type Scope Persistence Typical use
User memory Per user, across bots Permanent Preferences and profile
Bot memory Per bot, across users Permanent Bot state, counters
Session memory Per session Session lifetime Current conversation context
Episodic memory Per conversation Permanent Conversation summaries

The Memory app (preview) is where your personal memory profile becomes visible and editable: every stored memory is listed and readable, you can add one directly, import in bulk, search, and filter by kind — preferences, facts, context. Nothing is remembered behind your back, and a stale memory can be deleted rather than argued with. There is no per-memory expiry; housekeeping is manual.

Memory in scripts

BASIC scripts read and write these scopes with dedicated keywords:

' Remember something for this bot, across users
SET BOT MEMORY "last_ticket", ticketnumber
let lastticket = GET BOT MEMORY("last_ticket")

' Remember something about this user
SET USER MEMORY "language", "pt-BR"
SET USER FACT "role", "Product Manager"

' Offer a follow-up suggestion
ADD SUGGESTION "Show my tasks" AS "Tasks"

Variables set in a script also persist across messages within the session automatically, so a value collected on Monday is still there on Tuesday.

Privacy controls

  • Custom instructions (Settings) are what the assistant should know about you and how to respond — explicit, editable, and switchable off.
  • “Use all Drive files as knowledge context” (Settings → Storage) decides whether recent Drive file names ride along with each turn.
  • Locked conversations hide a thread from listings and search until unlocked with its PIN.

When memory surprises you

Symptom Explanation
The assistant knows something you never said It came from user memory or custom instructions — check the Memory app and Settings
A fact is wrong Delete or correct it in the Memory app; memories are advisory, not authoritative
Preferences did not follow to another bot User memory follows you, but a bot’s own memory does not — bot memory is scoped to that bot

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move