Skip to content
Edition NigeriaGlobal
Country: Argentina

You are in the Argentina edition. Type your country to switch.

Set up your profile

You are learning in the Argentina edition, with examples in pesos and from Argentina.

AI agents and automation basics · Lesson 5 of 9

Memory, retrieval and knowledge

Agents work from what is placed in front of them for each task, plus anything the system retrieves from stored knowledge. This lesson explains context and long-term memory, embeddings and vector search in plain words, retrieval-augmented generation, stale documents and access rights.

Advanced10 min read5 steps

This lesson is complete in writing. A video for it is on its way.

What you will learn

  • By the end you can tell short-term context from long-term memory and name the risks of each.
  • You can explain embeddings and vector search in plain words.
  • You can describe retrieval-augmented generation and improve a retrieval prompt.
  • You can keep a knowledge base current and make sure retrieval respects access rights.

Key terms in this lesson

Personal data
Any information that identifies you or could be linked to you, such as your name, account numbers, address, ID number or voice.
Embedding
A long list of numbers that represents the meaning of a piece of text, so that texts with similar meanings end up with similar lists even when the words differ.
Vector database
A database that stores embeddings alongside their text and quickly finds the stored items closest in meaning to a new question or passage.
Citation
A precise reference to the source of a fact, quote or idea, so that others can find and check it.
Data provenance
Where a piece of data came from and how it has been handled since, so that its reliability can be judged.
Access control
The rules and systems that decide who can see or change which data and systems, usually based on each person's role.

Step 1 of 5

Short-term context and long-term memory

Opening this step…

Step 2 of 5

Embeddings and vector search in plain words

This step opens when you finish the one above.

Step 3 of 5

Retrieval-augmented generation in practice

This step opens when you finish the one above.

Step 4 of 5

Stale or wrong documents

This step opens when you finish the one above.

Step 5 of 5

Access rights in retrieval

This step opens when you finish the one above.

Key takeaways

The key takeaways open when you finish every step.

Lesson quiz

5 questions. You need 85% to pass.

The quiz opens when you finish every step.

Read first

Stockertim Learn is education. It explains how investing works and never recommends buying or selling anything.

Up next

AI at workGuardrails and permissionsRead nowGuardrails and permissionsAI at work · Advanced · 15 minAI at workTesting and monitoringRead nowTesting and monitoringAI at work · Advanced · 15 minAI at workCosts and reliabilityRead nowCosts and reliabilityAI at work · Advanced · 15 minAI at workDeciding what to automateRead nowDeciding what to automateAI at work · Advanced · 15 minCreative & media productionHeadlines and short copyRead nowHeadlines and short copyCreative & media production · Intermediate · 5 minValuation & company analysisanalyse a company: a beginner's …Read nowHow to analyse a company: a beginner's roadmapValuation & company analysis · Beginner · 5 minFinancial crimeRed flags in transactions and tr…Read nowRed flags in transactions and trading patternsFinancial crime · Intermediate · 15 minAI at workBuilding simple AI workflowsRead nowBuilding simple AI workflowsAI at work · Beginner · 15 minValuation & company analysisIPO mechanics for issuersRead nowIPO mechanics for issuersValuation & company analysis · Advanced · 15 minLaw, regulation & ethicsTakeover and merger rules: manda…Read nowTakeover and merger rules: mandatory bids and equal treatmentLaw, regulation & ethics · Intermediate · 15 minBasicsBull vs bear market: what do the…Read nowBull vs bear market: what do they mean?Basics · Beginner · 5 minHuman resourcesCross-border transfers and globa…Read nowCross-border transfers and global HR systemsHuman resources · Advanced · 15 min
English