Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Graph Memory in AI Assistant #1887

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Aftar-Ahmad-Sami
Copy link

Description

This pull request adds a new Jupyter notebook to the mem0 cookbook, demonstrating an AI companion application that utilizes mem0's graph memory capabilities. The notebook showcases how to create an interactive AI assistant that can remember and recall information from previous conversations using OpenAI's GPT-4 model and mem0's memory system.

Key features:

  • Integration of OpenAI's GPT-4 with mem0's memory management
  • Utilization of Qdrant for vector storage and Neo4j for graph storage
  • Interactive conversation loop with memory retention and retrieval

This addition aims to provide mem0 users with a practical example of building an AI companion system, highlighting the power of graph-based memory in conversational AI applications.

Fixes # (No specific issue number, as this is a new feature addition)

Type of change

  • New feature (non-breaking change which adds functionality)
  • Documentation update

How Has This Been Tested?

The notebook has been tested in Google Colab environment. To reproduce:

  1. Open the notebook in Google Colab
  2. Set up the required environment variables using Google Colab's userdata
  3. Run all cells sequentially
  4. Test the interactive conversation loop with various inputs

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • closes #xxxx (Not applicable for this new feature addition)
  • Made sure Checks passed

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants