Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mem0 Chatbot

A customer support chatbot with persistent memory capabilities using Mem0 and LangGraph.

Features

  • Conversational AI powered by GPT-4o via LangChain
  • Memory Management using Mem0 with Pinecone vector database
  • Intelligent Memory Operations: Automatically adds, updates, or deletes user information based on conversation context
  • Personalized Responses: Retrieves relevant past conversations to provide context-aware support

How It Works

The chatbot uses LangGraph to orchestrate the conversation flow. For each user message, it:

  1. Searches for relevant memories from past conversations
  2. Generates a personalized response using the retrieved context
  3. Decides whether to add, update, or delete memory based on new information shared

Setup

  1. Install dependencies:
uv sync
  1. Create a .env file with your API keys:
OPENAI_API_KEY=your_key
PINECONE_API_KEY=your_key
MEM0_API_KEY=your_key if want to to use mem0-platform
  1. Run the notebook bot.ipynb

Tech Stack

  • LangChain - LLM framework
  • LangGraph - Conversation flow orchestration
  • Mem0 - Memory management layer
  • Pinecone - Vector database for storing memories
  • GPT-4o - Language model

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages