by obadakhalili · v0.0.1
Dify memory management plugin using Zep
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
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
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
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)
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
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
Difference between Get Session Memory and Search User Graph tools:
Get Session Memory uses the last n messages in the conversation to compose a query and search the user's memory for relevant information.Search User Graph searches the user's memory for a query you provide.return_context in memory.get() to use context immediatley.