Integrations
Flowise
The Mem0 Memory integration with Flowise enables persistent memory capabilities for your AI chatflows. Flowise is an open-source low-code tool for developers to build customized LLM orchestration flows & AI agents using a drag & drop interface.
Overview
- π§ Provides persistent memory storage for Flowise chatflows
- π Seamless integration with existing Flowise templates
- π Compatible with various LLM nodes in Flowise
- π Supports custom memory configurations
- β‘ Easy to set up and manage
Prerequisites
Before setting up Mem0 with Flowise, ensure you have:
- Flowise installed (NodeJS >= 18.15.0 required):
- Access to the Flowise UI at http://localhost:3000
- Basic familiarity with Flowiseβs LLM orchestration concepts
Setup and Configuration
1. Set Up Flowise
- Open the Flowise application and create a new canvas, or select a template from the Flowise marketplace.
- In this example, we use the Conversation Chain template.
- Replace the default Buffer Memory with Mem0 Memory.
2. Obtain Your Mem0 API Key
- Navigate to the Mem0 API Key dashboard.
- Generate or copy your existing Mem0 API Key.
3. Configure Mem0 Credentials
- Enter the Mem0 API Key in the Mem0 Credentials section.
- Configure additional settings as needed:
Memory Features
1. Basic Memory Storage
Test your memory configuration:
- Save your Flowise configuration
- Run a test chat and store some information
- Verify the stored memories in the Mem0 Dashboard
2. Memory Retention
Validate memory persistence:
- Clear the chat history in Flowise
- Ask a question about previously stored information
- Confirm that the AI remembers the context
Advanced Configuration
Memory Settings
Available settings include:
- Search Only Mode: Enable memory retrieval without creating new memories
- Mem0 Entities: Configure identifiers:
user_id
: Unique identifier for each userrun_id
: Specific conversation session IDapp_id
: Application identifieragent_id
: AI agent identifier
- Project ID: Assign memories to specific projects
- Organization ID: Organize memories by organization
Platform Configuration
Additional settings available in Mem0 Project Settings:
- Custom Instructions: Define memory extraction rules
- Expiration Date: Set automatic memory cleanup periods
Best Practices
- User Identification: Use consistent
user_id
values for reliable memory retrieval - Memory Organization: Utilize projects and organizations for better memory management
- Regular Maintenance: Monitor and clean up unused memories periodically
Help & Resources
- Flowise Documentation
- Flowise GitHub Repository
- Flowise Website
- Mem0 Platform
- Need assistance? Reach out through: