Your Jarvis|INEMA.CLUB-PRO

Lesson 5 · 15 min

Memory: how it remembers you tomorrow

Memory is the difference between an AI that forgets everything when it restarts and one that has known you for months. In INTELECTO, it’s a database on your computer, with keyword search and no API cost. Understanding how it searches changes how you tell it things.

Start lesson
An open card file on a table beside a phone with a conversation on screen.

In this lesson, you will

  1. 1Two layers: MEMORY.md and the memory.db database
  2. 2How keyword search chooses what to remember
  3. 3Categories and deduplication
  4. 4The two-day test

Goal: explain where the assistant saves what you tell it and how it searches, and prove that it remembers on another day, in a new conversation.

01From what you tell it to what it remembers

Click each block.

Click each block in the diagram to see what it does.

Layer 1, MEMORY.md: a few fixed facts, always in context. Layer 2, memory.db: grows without a limit, and only what’s relevant to the question is included.

02What changes in how you use it

Click each tab.

1. Keyword search

Search looks for the words in your question among your memories. It doesn’t use “embeddings” (meaning-based search), by design: it’s simple, local, and free.

So: tell it facts using the words you’d use to ask about them later.

Best“Every Monday I finish the sales report.” Later: “What do I do every Monday?”

03The two-day test

Send it in Telegram or the terminal. See how it works with and without memory.

Day 1 · share three facts
Save this: every Monday I finish the sales report.
Save this: I prefer short bullet-point answers.
Save this: my main client is called <NOME DO CLIENTE>.
Day 2 · new conversation, don’t repeat yourself
What do I do every Monday?
How do I prefer my answers?
Who is my main client?
Database search, as the loop does it
SELECT content, category FROM memories_fts
WHERE memories_fts MATCH 'segunda OR relatório OR vendas'
ORDER BY bm25(memories_fts)
LIMIT 5;
Simulation: illustrative example

You (day 2): What do I do every Monday?

Jarvis: You finish the sales report. Want me to make a list of what’s left?

The word segunda found the memory saved on day 1.

04Practice: the memory test

Exercise E4 in sequence 2.

E4 · Memory test

2 days

Day 1: share three facts about yourself using “save this”. On day 2, in a new conversation (after restarting the assistant), ask about them.

Done when: it remembers all three without you repeating them.

E4b · What it knows about you

10 min

Ask what it knows about you. Correct one fact and ask it to forget another.

Done when: the next answer shows the corrected fact and leaves out the forgotten one.

05Test what you learned

The explanation appears after your answer.

Question 1 of 3

Why is the memory test done in a new conversation the next day?competency

Go further

Previous lessonNext lesson