Dify memory management plugin using Zep
A plugin for Dify that adds memory management using Zep. This helps your AI assistant remember past conversations and user information.
Install the plugin in your Dify workspace
Create a Zep project and get an API key
Add your Zep API key to authorize the plugin
[Image blocked: authorize-1]
[Image blocked: authorize-2]
Creates a Zep user and session if they don't already exist. Must be used first before other tools.
Parameters:
User ID - Unique identifier for the user
Session ID - Unique identifier for the conversation
[Image blocked: init-session]
Saves a message to the conversation memory.
Parameters:
Session ID - The conversation to add to
Message - The text content to save
Role Type - Who sent the message (user or assistant)
[Image blocked: add-message.png]
Gets user memory relevant to the last messages in the conversation.
Parameters:
Session ID - The conversation to get relevant memory for
Last N Messages (optional) - Number of recent messages to check (max 50)
Minimum Rating (optional) - Only return memories above this relevance score
[Image blocked: get-memory]
Search through a user's memory for relevant information.
Parameters:
User ID - The user to search memories for
Query - What to search for in the memory
[Image blocked: search-graph]
Difference between and tools:
[Image blocked: workflow]