0
0
Agentic AIml~20 mins

Episodic memory for past interactions in Agentic AI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Episodic Memory Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is the main purpose of episodic memory in agentic AI?

Imagine you have a robot assistant that remembers your past conversations to help you better. What is the main purpose of episodic memory in such an agentic AI?

ATo generate random responses without context.
BTo remember specific past interactions and experiences with users.
CTo perform calculations and logical reasoning.
DTo store general facts and knowledge about the world.
Attempts:
2 left
💡 Hint

Think about memory that helps recall personal past events rather than general knowledge.

Model Choice
intermediate
2:00remaining
Which model architecture is best suited for implementing episodic memory in agentic AI?

You want to build an agentic AI that can remember past conversations over time. Which model architecture is best suited for this episodic memory task?

AFeedforward neural network without recurrence.
BConvolutional neural network (CNN) for image recognition.
CRecurrent neural network (RNN) or Transformer with memory components.
DK-means clustering for unsupervised grouping.
Attempts:
2 left
💡 Hint

Think about models that can handle sequences and remember past inputs.

Predict Output
advanced
2:00remaining
What is the output of this episodic memory update code?

Consider this Python code snippet that updates an episodic memory list with new interactions:

Agentic AI
episodic_memory = ['Hello, how can I help?']
new_interaction = 'What is the weather today?'
episodic_memory.append(new_interaction)
print(len(episodic_memory))
AError: append is not a function
B1
C0
D2
Attempts:
2 left
💡 Hint

Remember how list append works in Python.

Metrics
advanced
2:00remaining
Which metric best evaluates episodic memory accuracy in agentic AI?

You want to measure how accurately your agentic AI recalls past interactions. Which metric is most appropriate?

ARecall or F1-score on retrieved past interaction matches.
BMean Squared Error (MSE) for regression tasks.
CBLEU score for machine translation quality.
DSilhouette score for clustering quality.
Attempts:
2 left
💡 Hint

Think about metrics that measure correct retrieval of relevant items.

🔧 Debug
expert
2:00remaining
Why does this episodic memory retrieval code raise an error?

Examine this Python code snippet for retrieving the last interaction from episodic memory:

Agentic AI
episodic_memory = []
last_interaction = episodic_memory[-1]
print(last_interaction)
AIndexError because the list is empty and -1 index is invalid.
BTypeError because list indexing requires a string key.
CNameError because episodic_memory is not defined.
DNo error; it prints None.
Attempts:
2 left
💡 Hint

What happens when you try to access an element from an empty list by index?