MongoDB Atlas ChatMemoryFlow #3502
patrikduch
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
I recently designed a ChatMemoryFlow system utilizing MongoDB Atlas to demonstrate how MongoDB Atlas can effectively serve as a provider for chat memory storage.
Steps
1) Create MongoDB Atlas “Test Cluster”
2) Database access - creation of access user
3) Creation of username and password
Be sure to remember to add a role to your database configuration,_
4) Prepare MongoDb for usage
There are several sample databases available, but I recommend creating a new, dedicated database for your project. In this example, I've named it "test_ai," as shown in the image above.
5) Create a Database with this configuration
6] Flowise MongoDb Atlas Chat Flow
Credential Name
Name of the connection… for example “Mongo”.
Atlas ConnectionString
mongodb+srv://username:[email protected]/?retryWrites=true&w=majority&appName=TestCluster
Once the Flowise flows are connected and functioning correctly (with no errors), we can verify our MongoDB Atlas instance to ensure that the data is being persisted as expected. This step allows us to confirm that our setup is correctly storing information in the database.
Exported Flowise Flow
MongoDB Atlas Example Chatflow.json
Beta Was this translation helpful? Give feedback.
All reactions