Практика Shadowing: AI Agent Memory Architecture: Structured SQL, Semantic Vector Search & Memory Bank - Изучайте разговорный английский по видео

Выберите режим практики

Каждый режим открывает полноэкранную комнату практики.

173 предложений
Если предложения слишком короткие или длинные, нажмите Edit, чтобы их изменить.
1
Hi, I'm Annie.
2
If your agent can hear, see, and take action, the next question is, what should I remember after the session ends?
3
In this episode, I will show you the architecture for long -term memory in a multi -model agent,
4
facts in structure memory, understanding in semantic memory, and raw audio or video outside of memory.
5
Hi there.
6
Hey there.
7
Good for that customer dinner tomorrow
8
or just browsing oh i want
9
you suggest something for customer dinner tomorrow based on my wish list for sure you have those leather ankle boots
10
and a classic black pump on your list either would go great with
11
that red cocktail dress you bought but
12
if you want something a bit more relaxed for dinner maybe mix it up with the plaid button -up
13
and classic denim jeans all right let's start with the two types of the memory when you're talking to a multimodal agent.
14
It feels like the agent remembers everything.
15
It remembers what you said five minutes ago.
16
It can use what it just heard.
17
But most of that is short -term memory.
18
It is like RAM.
19
It is useful while the session is running, but it's gone when the session ends.
20
So the real design question is not, can we save everything?
21
The real question is, what is worth carrying into the next session?
22
And And that memory comes in two kinds.
23
The first kind is facts.
24
Facts are exact.
25
You have a dinner on Thursday.
26
You bought the blue jacket.
27
Those are things you can put in rows and columns.
28
They have IDs.
29
They have dates.
30
They can be created, updated, and deleted.
31
That is structured memory.
32
The second kind is understanding.
33
Understanding is not one clean role in a table.
34
It is an age in learning what something means about you.
35
You prefer simple over flashy, you run warm, you reach for dark colors when you want to feel confident.
36
That is not just a fact to look up.
37
That is a pattern.
38
It is a difference between knowing your calendar and knowing you.
39
So, here is the first takeaway.
40
Facts are exact.
41
You look them up.
42
Understanding is meaning.
43
You recall it.
44
Now let's talk about the decision that makes or breaks your memory system.
45
Those two kinds of memory should not live in the same place.
46
Facts belong in a structured database.
47
That usually means SQL, Postgres, MySQL, Cloud SQL, and Google Cloud whatever fits your stack.
48
Why SQL?
49
Because facts need exact answers.
50
If I ask what is on my calendar Thursday, I do not want a similar memory.
51
I want an exact event.
52
The database should return the actual roles.
53
That is what structured databases are good at.
54
Now, understanding belongs somewhere else.
55
Understanding stays in a vector store.
56
A vector store lets you search by meaning.
57
So instead of asking, find a role where preference equals dark colors,
58
the agent can ask, what do I know about any style preference for this kind of event?
59
And the memory system can bring back memories that are semantically related.
60
And that is the job of embeddings and vector search.
61
Here is an important detail.
62
VectorStore is a category.
63
It is not one specific product.
64
You could use PG Vector inside Postgres.
65
You could use AlloyDB.
66
On Google Cloud, one managed option is agent platform memory bank.
67
Memory bank is useful because it does more than store vectors.
68
You can read past sessions, extract useful memories, and update those memories over time so
69
if you use a plain vector store you usually build
70
that extraction logic yourself if you use memory bank
71
that part is managed for you
72
but the lesson is not you must use memory bank the lesson is understanding goes in a system
73
that can search by meaning now here's a mistake many people make they hear semantic memory
74
and they put everything into the vector store.
75
Facts, preferences, calendar events, everything.
76
That sounds simple, but it creates a real problem.
77
A vector store is designed for similarity.
78
Similarity is great when the question is fuzzy, but similarity is dangerous.
79
when the answer must be exact.
80
If the user asks, what did I buy?
81
The agent should not guess from a similar memory.
82
It should curate the database.
83
If the user asks, what do I usually like for dinners?
84
Then semantic memory makes sense.
85
That is a meaning -based question.
86
So the rule is, structured facts goes in database like Cloud SQL.
87
Unstructured understanding goes in a vector store.
88
And there is one more category people often forget, raw perception.
89
The camera frames, the audio waveform, the live stream itself, that does not usually belong in memory.
90
Your agent does not need to permanently remember every pixel or every sound wave.
91
It needs the meaning you extract from them.
92
For example, she is wearing that black hat again.
93
Or that you just said this dinner is formal.
94
Those meanings can become memory.
95
The raw video and audio are separate storage decisions.
96
You might keep them for replay, audit, debugging, or training data.
97
But that is not the same thing as agent memory.
98
Agent memory should keep what matters, not every raw signal that pass through the app.
99
So here is a second takeaway.
100
Facts go in structured memory, like classical.
101
Understanding goes in a vector store, like agent, platform, memory, bank.
102
Role perception usually stays out of memory, unless you have a separate reason to store the media itself.
103
Alright, let's make this concrete.
104
How does the agent actually remember?
105
There are two important moments, the start of a session and the end of a session.
106
At the start, the agent loads memory before the conversation really begins.
107
It reads structured facts from the database, for example, upcoming occasions, wishlist items, profile details.
108
Then it searches the vector store for a relevant understanding, for example, style preference, comfort constraints, favorite colors from past conversations.
109
Then the agent gets both kinds of context, so when the user starts talking, the agent is not starting from zero,
110
it already has the facts and it already has a meaning.
111
That is why the code open works.
112
The agent can say, you have that dinner on Thursday from the structure database
113
and I know you like to keep it simple from semantic memory.
114
One answer, two memory systems.
115
Now let's talk about saving memory.
116
Facts should usually be saved immediately.
117
If the user says I Add that Blazor to my wish list, the agent should write that to the database right away.
118
That is a tool call.
119
It is structured, it is exact, and the user expects it to be saved now.
120
Understanding is different.
121
You usually do not want to update someone's long -term identity from one random sentence.
122
If I say, maybe I like yellow today, that does not mean yellow is now my whole style.
123
Understanding needs judgment.
124
It should come from stronger signals.
125
Maybe the user explains why something matters.
126
Maybe the same pattern repeats across sessions.
127
That is how you keep memory from getting noisy.
128
So instead of treating every sentence as a permanent preference, you let the memory series review the conversation and extract what is actually worth keeping.
129
Now, when does the extraction happen?
130
You have a choice.
131
You can extract memory during the conversation, after each turn, or at interverse.
132
Agent Platform Memory Bank supports this directly.
133
You can trigger memory generation mid -session, not only at the end
134
and extracting as you go has real advantages shorter exchanges often produce cleaner memories
135
and if the user drops off early you have already saved what they said
136
but there's a catch in a live multi -modal agent extraction
137
is heavier than a database write a model has to read the conversation
138
and infer meaning that takes time and a live voice agent is latency -sensitive,
139
you cannot let a slow extraction step block the audio.
140
So the rule is not always wait until the session ends.
141
The rule is keep extraction off the live path.
142
Run it asynchronously, after the turn or after the session, wherever it will not stall the conversation.
143
And in this demo, the structured facts are written immediately during the conversation.
144
The understanding is extracted off the hot path after the session and stored as semantic memory.
145
That gives you two tracks, fast synchronous writes for facts, slower asynchronous extraction for understanding,
146
and the next time the user comes back and the agent loads both again.
147
That is the loop.
148
Read at the start, write what changes, bring it forward next time.
149
Here's the third takeaway.
150
So both memory systems, when the session starts, save facts as soon as it happens,
151
save understanding after you have enough context to know what is actually worth remembering.
152
All right, let's recap.
153
If you want your AI agent to remember users across sessions, do not start by dumping everything into one type of database.
154
Start by asking, what kind of memory is this?
155
There are two main kinds.
156
Facts are exact.
157
It looks them up.
158
Understanding is meaning.
159
You recall it.
160
Facts belong in a structural database like classical.
161
Understanding belongs in a vector store.
162
Agent Platform Memory Bank is one managed option because it can help extract and maintain that semantic memory for you.
163
But the architecture works beyond one product and raw camera frames or raw audio do not automatically become memory.
164
You usually store the meaning you extract from them, not the raw signal itself.
165
That is what turns a forgetful agent into an agent that can actually pick up where it left off.
166
It knows the facts of your life and it understands what patterns that makes those facts useful.
167
That's it.
168
So what is the first thing you would want your agent to remember about you?
169
Don't forget to leave that in the comments.
170
In the next episode, we will give the agent eyes with real -time vision.
171
All right, I will see you in the next episode.
172
Bye.
173
Thank you.

Скачать приложение

Всё для свободной речи

ИИ-оценка произношенияОценка каждой фразы
Практика IPAОсвойте каждый звук
СловарьСоберите свой словарный запас
Игра со словамиУчитесь играя

Тот же канал

FOR YOU

Рекомендуемое видео

Лексика и советы по произношению к этому уроку

Этот урок разговорной практики построен на видео «AI Agent Memory Architecture: Structured SQL, Semantic Vector Search & Memory Bank». Чаще всего повторяются слова: memory, agent, understanding, session, vector. В этом видео 173 предложений и 1681 слов для шедоуинга. Речь длится 12:17. Говорящий держит ровный темп — около 137 слов в минуту, удобный для шедоуинга. 84% слов входят в 3000 самых частых слов английского языка; остальные стоит разобрать перед занятием.

Ключевая лексика этого видео

15 слов из видео, которые стоит выучить, с произношением и значением:

СловоПроизношениеЗначение
vector существительное/ˈvɛktɚ/ве́ктор
database существительное/ˈdeɪtəˌbeɪs/ба́за да́нных
extract существительное/ˈɛkstɹækt/экстра́кт, извлече́ние
audio прилагательное/ˈɔ.di.oʊ/а́удио-, звуково́й
belong глагол/bɪˈlɒŋ/быть «свои́м»
preference существительное/ˈpɹɛf(ə)ɹ(ə)ns/предпочте́ние, префере́нция
calendar существительное/ˈkæl.ən.də/календа́рь
similarity существительное/ˌsɪm.ɪˈlæɹ.ɪ.ti/схо́дство, подо́бие
lesson существительное/ˈlɛs.ən/уро́к, ле́кция
architecture существительное/ˈɑː.kɪˌtɛk.t͡ʃə/архитекту́ра, зо́дчество
recall глагол/ɹɪˈkɔl/отзыва́ть, отозва́ть
perception существительное/pɚˈsɛpʃ(ə)n/восприя́тие, перце́пция
sensitive прилагательное/ˈsɛn.sɪt.ɪv/чувстви́тельный, чу́ткий
formal прилагательное/ˈfɔɹməl/форма́льный
concrete прилагательное/ˌkɑnˈkɹit/конкре́тный, определённый

Фразовые глаголы, которые вы услышите

СловоПроизношениеЗначение
come back глаголвозвраща́ться, возврати́ться
drop off глаголпа́дать, упа́сть
look up глагол/ˌlʊk ˈʌp/улучша́ться
pick up глаголподбира́ть, подобра́ть

Фразы, которые стоит повторять

Короткие законченные фразы из видео, которые пригодятся в повседневном разговоре:

  • If the user asks, what did I buy?
  • If the user asks, what do I usually like for dinners?
  • Alright, let's make this concrete.

Произношение, на которое стоит обратить внимание

Говорящий использует 3 сокращённых и редуцированных форм, например don't, I'm, you're. Произносите их коротко, так, как слышите.

  • Звуки «sh» и «zh»: extraction /ɪkˈstɹækʃən/, perception /pɚˈsɛpʃ(ə)n/, occasion /əˈkeɪ̯ʒən/, structural /ˈstɹʌk(t͡)ʃəɹəl/, flashy /ˈflæʃi/
  • Длинные слова — следите за ударением: similarity /ˌsɪm.ɪˈlæɹ.ɪ.ti/, architecture /ˈɑː.kɪˌtɛk.t͡ʃə/, permanently /ˈpɜː.mə.nənt.li/, asynchronous /eɪˈsɪŋ.kɹə.nəs/

Звуки, трудные для русскоязычных:

  • /w/ — губы округлены, это не /v/: wherever /(h)wɛɹˈɛvɚ/, takeaway /ˈteɪkəweɪ/
  • Звонкие согласные в конце слова — не оглушайте их: sensitive /ˈsɛn.sɪt.ɪv/, jeans /d͡ʒiːnz/, columns /ˈkɑləmz/, browse /bɹaʊz/, debug /diːˈbʌɡ/
  • /ŋ/ в конце слова — носовой звук без «г»: belong /bɪˈlɒŋ/, embedding /ɪmˈbɛdɪŋ/

Как заниматься с этим видео

  1. Прослушайте всё видео один раз молча и выпишите незнакомые слова.
  2. Повторяйте предложение за предложением на обычной скорости, пока ваш ритм не совпадёт с ритмом говорящего.
  3. Запишите себя и сравните с оригиналом, обращая внимание на такие слова, как vector, database, extract.

Что такое техника Shadowing?

Shadowing — это научно обоснованная техника изучения языка, изначально разработанная для подготовки профессиональных переводчиков и популяризированная полиглотом доктором Александром Аргуэльесом. Метод прост, но эффективен: вы слушаете аудио на английском от носителей языка и немедленно повторяете вслух — как тень, следующая за говорящим с задержкой в 1–2 секунды. В отличие от пассивного прослушивания или грамматических упражнений, Shadowing заставляет мозг и мышцы рта одновременно обрабатывать и воспроизводить реальные речевые паттерны. Исследования показывают, что это значительно улучшает точность произношения, интонацию, ритм, связную речь, понимание на слух и беглость речи — что делает его одним из самых эффективных методов для подготовки к IELTS Speaking и реального общения на английском.

Техника шедоуинга: читать полное пошаговое руководство →