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
- Install the CortexDB Flowise node:
cd ~/.flowise/nodes npm install @cortexdb/flowise-node - Restart Flowise
- 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:
- Recalls relevant context before the LLM processes the input
- Stores the conversation turn after the LLM responds
- 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.