Use CortexDB as a memory node in Flowise visual workflows.

Flowise Integration

CortexDB provides a custom Flowise node for adding persistent memory to your visual AI workflows.

Installation

  1. Install the CortexDB Flowise node:
    cd ~/.flowise/nodes
    npm install @cortexdb/flowise-node
    
  2. Restart Flowise
  3. The CortexDB Memory node appears in the Memory category

Configuration

Drag the CortexDB Memory node onto your canvas and configure:

| Field | Description | |---|---| | Base URL | CortexDB server URL (e.g., http://localhost:8080) | | API Key | Your CortexDB API key | | Tenant ID | Tenant identifier | | Namespace | Optional namespace | | Top K | Number of memories to recall (default: 10) |

Usage

Connect the CortexDB Memory node to any LLM chain or agent node. The node automatically:

  1. Recalls relevant context before the LLM processes the input
  2. Stores the conversation turn after the LLM responds
  3. Injects memory context into the system prompt

Example Flow

[Chat Input] → [CortexDB Memory] → [ChatOpenAI] → [Chat Output]

The memory node enriches the conversation with relevant historical context from CortexDB.