repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | title: Flowise |
| #3 | --- |
| #4 | |
| #5 | The [**Mem0 Memory**](https://github.com/mem0ai/mem0) integration with [Flowise](https://github.com/FlowiseAI/Flowise) enables persistent memory capabilities for your AI chatflows. [Flowise](https://flowiseai.com/) is an open-source low-code tool for developers to build customized LLM orchestration flows & AI agents using a drag & drop interface. |
| #6 | |
| #7 | ## Overview |
| #8 | |
| #9 | 1. Provides persistent memory storage for Flowise chatflows |
| #10 | 2. Seamless integration with existing Flowise templates |
| #11 | 3. Compatible with various LLM nodes in Flowise |
| #12 | 4. Supports custom memory configurations |
| #13 | 5. Easy to set up and manage |
| #14 | |
| #15 | ## Prerequisites |
| #16 | |
| #17 | Before setting up Mem0 with Flowise, ensure you have: |
| #18 | |
| #19 | 1. [Flowise installed](https://github.com/FlowiseAI/Flowise#⚡quick-start) (NodeJS >= 18.15.0 required): |
| #20 | ```bash |
| #21 | npm install -g flowise |
| #22 | npx flowise start |
| #23 | ``` |
| #24 | |
| #25 | 2. Access to the Flowise UI at http://localhost:3000 |
| #26 | 3. Basic familiarity with [Flowise's LLM orchestration](https://flowiseai.com/#features) concepts |
| #27 | |
| #28 | ## Setup and Configuration |
| #29 | |
| #30 | ### 1. Set Up Flowise |
| #31 | |
| #32 | 1. Open the Flowise application and create a new canvas, or select a template from the Flowise marketplace. |
| #33 | 2. In this example, we use the **Conversation Chain** template. |
| #34 | 3. Replace the default **Buffer Memory** with **Mem0 Memory**. |
| #35 | |
| #36 |  |
| #37 | |
| #38 | ### 2. Obtain Your Mem0 API Key |
| #39 | |
| #40 | 1. Navigate to the [Mem0 API Key dashboard](https://app.mem0.ai/dashboard/api-keys). |
| #41 | 2. Generate or copy your existing Mem0 API Key. |
| #42 | |
| #43 |  |
| #44 | |
| #45 | ### 3. Configure Mem0 Credentials |
| #46 | |
| #47 | 1. Enter the **Mem0 API Key** in the Mem0 Credentials section. |
| #48 | 2. Configure additional settings as needed: |
| #49 | |
| #50 | ```typescript |
| #51 | { |
| #52 | "apiKey": "m0-xxx", |
| #53 | "userId": "user-123", // Optional: Specify user ID |
| #54 | "projectId": "proj-xxx", // Optional: Specify project ID |
| #55 | "orgId": "org-xxx" // Optional: Specify organization ID |
| #56 | } |
| #57 | ``` |
| #58 | |
| #59 | <figure> |
| #60 | <img src="https://raw.githubusercontent.com/FlowiseAI/FlowiseDocs/main/en/.gitbook/assets/mem0/creds.png" alt="Mem0 Credentials" /> |
| #61 | <figcaption>Configure API Credentials</figcaption> |
| #62 | </figure> |
| #63 | |
| #64 | ## Memory Features |
| #65 | |
| #66 | ### 1. Basic Memory Storage |
| #67 | |
| #68 | Test your memory configuration: |
| #69 | |
| #70 | 1. Save your Flowise configuration |
| #71 | 2. Run a test chat and store some information |
| #72 | 3. Verify the stored memories in the [Mem0 Dashboard](https://app.mem0.ai/dashboard/requests) |
| #73 | |
| #74 |  |
| #75 | |
| #76 | ### 2. Memory Retention |
| #77 | |
| #78 | Validate memory persistence: |
| #79 | |
| #80 | 1. Clear the chat history in Flowise |
| #81 | 2. Ask a question about previously stored information |
| #82 | 3. Confirm that the AI remembers the context |
| #83 | |
| #84 |  |
| #85 | |
| #86 | ## Advanced Configuration |
| #87 | |
| #88 | ### Memory Settings |
| #89 | |
| #90 |  |
| #91 | |
| #92 | Available settings include: |
| #93 | |
| #94 | 1. **Search Only Mode**: Enable memory retrieval without creating new memories |
| #95 | 2. **Mem0 Entities**: Configure identifiers: |
| #96 | - `user_id`: Unique identifier for each user |
| #97 | - `run_id`: Specific conversation session ID |
| #98 | - `app_id`: Application identifier |
| #99 | - `agent_id`: AI agent identifier |
| #100 | 3. **Project ID**: Assign memories to specific projects |
| #101 | 4. **Organization ID**: Organize memories by organization |
| #102 | |
| #103 | ### Platform Configuration |
| #104 | |
| #105 | Additional settings available in [Mem0 Project Settings](https://app.mem0.ai/dashboard/project-settings): |
| #106 | |
| #107 | 1. **Custom Instructions**: Define memory extraction rules |
| #108 | 2. **Expiration Date**: Set automatic memory cleanup periods |
| #109 | |
| #110 |  |
| #111 | |
| #112 | ## Best Practices |
| #113 | |
| #114 | 1. **User Identification**: Use consistent `user_id` values for reliable memory retrieval |
| #115 | 2. **Memory Organization**: Utilize projects and organizations for better memory management |
| #116 | 3. **Regular Maintenance**: Monitor and clean up unused memories periodically |
| #117 | |
| #118 | <CardGroup cols={2}> |
| #119 | <Card title="LangChain Integration" icon="link" href="/integrations/langchain"> |
| #120 | Build LangChain-powered flows with memory |
| #121 | </Card> |
| #122 | <Card title="Dify Integration" icon="blocks" href="/integrations/dify"> |
| #123 | Create AI workflows with Dify platform |
| #124 | </Card> |
| #125 | </CardGroup> |
| #126 | |
| #127 |