app icon
MongoDB Session Memory
0.0.2

Store conversations through MongoDB

ssssshql/chat_memory_by_mongo577 installs

chat_memory_by_mongo

Author: ssssshql
Version: 0.0.2
Type: tool

Description

A Dify plugin to Record chat history

Require

You need a MongoDB

Tools

Retrieve Messages:

1.

  • Type:
  • Required:
  • 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.

2.

  • Type:
  • Required:
  • Description:
    The unique identifier of the user sending/storing the message. This associates the message with the correct user account.

3.

  • Type:
  • Required: (optional)
  • Default:
  • Description:
    The maximum number of messages to retrieve. Limits the response size when querying messages.

Store Message

1.

  • Type:
  • Required:
  • Description:
    The unique identifier of the user sending/storing the message. This associates the message with the correct user account.

2.

  • Type:
  • Required:
  • Description:
    The sender's role in the message exchange. Valid options are (human) or (AI).
  • Options:
    • : Human user
    • : AI/bot response
  • Placeholder:

3.

  • Type:
  • Required:
  • Description:
    The actual text content of the message to be stored.

4.

  • Type:
  • Required:
  • Description:
    The unique identifier of the conversation thread where this message belongs.

Delete Message:

1.

  • Type:
  • Required:
  • Description:
    The unique identifier of the conversation thread where this message belongs.

Github

https://github.com/ssssshql/dify-plugin-chat-memory-by-mongo

CATEGORY
Tool
VERSION
0.0.2
ssssshql·05/06/2025 11:00 AM
REQUIREMENTS
Tool invocation
Endpoint registration
Maximum memory
256MB