[Docs] Add example for building Personal AI Assistant using Mem0 (#1486)

This commit is contained in:
Deshraj Yadav
2024-07-16 15:20:03 -07:00
committed by GitHub
parent b620f8fae3
commit 2a43aa6902
9 changed files with 122 additions and 8 deletions

View File

@@ -24,6 +24,9 @@ Below is the simplified code to create and interact with a Customer Support AI A
from openai import OpenAI
from mem0 import Memory
# Set the OpenAI API key
os.environ['OPENAI_API_KEY'] = 'sk-xxx'
class CustomerSupportAIAgent:
def __init__(self):
"""