Skip to content
Pinecone

Memory for Open-Source LLMs

Feb 14, 2024David Packman, Roie Schwaber-Cohen11 min read
Opens pinecone.io
What the post coversAI, from the source post

Introduces a novel approach to conversational memory for LLMs by transforming traditional RAG.

  • The method involves summarizing ended conversations using an LLM, embedding these summaries, and storing them in a vector database.
  • This creates a persistent, semantically relevant memory that can be retrieved to provide context for future interactions, moving beyond simple turn-based memory.
  • Includes sample Python code demonstrating the implementation with Pinecone Serverless, OctoAI, and tiktoken.
Read the full post on pinecone.io · 11 min (opens in a new tab)

More from the Vector Database Technology Evaluation trail