Memory
Consolidate
Consolidate reads your chats with the model you chose and adds the entities and connections it finds to Memory.
Consolidate is how Memory learns. It reads the chats you pick, a few exchanges at a time, and adds the people, places and things it finds, with how they connect and when. A chat it has read before is read only from where it left off.
Run it
- Click Memory in the sidebar. When chats have new messages, the button at the top of the page reads Consolidate and how many chats, for example Consolidate 3 chats.
- Click it. The window lists every chat with something new, all ticked. Each shows its date, how many exchanges are waiting and how many chunks they make, and whether it is new or updated since last run.
- Untick any chat to leave for later, or use Select none and Select all.
- Click Consolidate … selected.
While it runs, the window shows which chat and chunk it is on, and the tokens sent and received so far. It stays open until the run is done. To stop, click the close button: the run ends once the current chunk is finished.
Read the results
When the run ends, a table shows one row per chat:
| Column | What it shows |
|---|---|
| Chunks | Chunks read, out of those waiting |
| Entities | How many were new, and how many already in Memory |
| Connections | How many were new, said again, and ended by something newer |
| Rejected | Entities and connections the model named with a type that is not in Memory settings |
| Tokens (in / out) | What the chat cost, retries included |
| Status | Done, Up to date, Stopped or Cancelled |
When to run it
Run it after chats that hold something worth remembering, and after you import chats. Each run reads only what is new since the last one, so chats already read cost nothing more.
Good to know
- An exchange is one message and its reply. Exchanges per chunk sets how many are read together; the default is 3, and the default for every run is in Memory settings.
- Each chunk is two calls to the model, so with a cloud model it is billed like any other use. With a local model through Ollama nothing leaves your computer.
- Consolidate uses the model chosen in the composer. With none chosen, the button is greyed.
- Each chunk is saved as soon as it is read. If a run stops, only that chunk is lost, and the next run carries on from it. A chat that stopped says why the next time the window opens.
- A forked chat is read only from the point it was forked, when the original has already been read that far.
- Profiles can't be switched, renamed or deleted while a run is going.
Something here wrong or unclear? Email [email protected].