Author: ssssshql Version: 0.0.2 Type: tool
A Dify plugin to Record chat history
You need a MongoDB
- Type:
string - Required:
true - Description:
The unique identifier of the conversation where the message will be stored. This ensures the message is correctly associated with the right conversation thread.
- Type:
string - Required:
true - Description:
The unique identifier of the user sending/storing the message. This associates the message with the correct user account.
- Type:
number - Required:
false(optional) - Default:
50 - Description:
The maximum number of messages to retrieve. Limits the response size when querying messages.
- Type:
string - Required:
true - Description:
The unique identifier of the user sending/storing the message. This associates the message with the correct user account.
- Type:
select - Required:
true - Description:
The sender's role in the message exchange. Valid options areuser(human) orassistant(AI). - Options:
user: Human userassistant: AI/bot response
- Placeholder:
Please select a role
- Type:
string - Required:
true - Description:
The actual text content of the message to be stored.
- Type:
string - Required:
true - Description:
The unique identifier of the conversation thread where this message belongs.
- Type:
string - Required:
true - Description:
The unique identifier of the conversation thread where this message belongs.
https://github.com/ssssshql/dify-plugin-chat-memory-by-mongo