AI Engineering Podcast cover image

AI Engineering Podcast

Building Semantic Memory for AI With Cognee

Nov 25, 2024
Vasilije Markovich, a data engineer and AI specialist from Montenegro, discusses enhancing large language models with memory. He highlights the challenges of context window limitations and forgetting in LLMs, introducing hierarchical memory to improve performance. Vasilije dives into his creation, Cognee, which manages semantic memory, emphasizing its potential applications and the blend of cognitive science with data engineering. He shares insights from building an AI startup, the importance of user feedback, and future developments in open-source AI technology.
55:01

Podcast summary created with Snipd AI

Quick takeaways

  • Incorporating memory into LLMs enhances accuracy by managing context effectively across multiple interactions and reducing reliance on traditional training methods.
  • The challenge of forgetting due to context window limitations necessitates innovative memory management strategies to ensure continuity in multi-turn conversations.

Deep dives

Enhancing Large Language Models with Memory

Adding memory to large language models (LLMs) is essential for improving their accuracy and usability. The concept of memory within LLMs utilizes in-context learning by providing immediate context that the model can reference during interactions. Traditional training methods are contrasted with the idea of managing context across multiple LLM calls to create a more effective memory system, effectively acting as a structured feature store. This approach not only enables deeper reasoning but also helps manage the intricacies of memory and context retention, allowing LLMs to deliver more accurate responses.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode