๐Ÿš€ Everything is free โ€” help us improve! Submit feedback and shape the platform.
โ† AI Memory/M-055Wire Up Mem0 Memory for a Personal Assistant๐Ÿ“– Guide๐Ÿ…Rank 07ยท The Strategist
๐ŸงชTDD Challengeยทintermediateยทโฑ๏ธ 30โ€“45mยทโญ 200 XP

M-055Wire Up Mem0 Memory for a Personal Assistant

Description

Nebula Corp is building a personal assistant that should remember user preferences across sessions. The assistant skeleton exists but it's stateless โ€” every conversation starts fresh. Wire up Mem0 to add, search, and use memories so the assistant can recall past interactions. The memory search should be called before each response, and new memories should be stored after each exchange.

Test Cases (3)

Searches memories
Must search memories before responding
Input:testChat()
Expected:CONTAINS:[response]
Stores memories
Must store new memories after exchange
Input:testStoreMemories()
Expected:1
Includes memory in prompt
System prompt includes memory context
Input:testMemoryInPrompt()
Expected:CONTAINS:Known facts

Related Lessons

Click Run / Check to validate your solution