Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamoDB Chat Memory fix #1697

Merged
merged 4 commits into from
Feb 8, 2024

Conversation

Jaredude
Copy link
Contributor

@Jaredude Jaredude commented Feb 8, 2024

Fixes #1624

Please note comment in class BufferMemoryExtended for further discussion, if necessary

Fixes FlowiseAI#1624

Please note comment in class BufferMemoryExtended for further discussion, if necessary
@Jaredude
Copy link
Contributor Author

Jaredude commented Feb 8, 2024

@HenryHengZJ This should fix #1624 I put a comment in packages/components/nodes/memory/DynamoDb/DynamoDb.ts on line 156 for further clarity. It might just be me not understanding the init flow of the BufferMemoryExtended class distinct from the init of the DynamoDb_Memory node. Any clarity around fields.chatHistory and fields.dynamodbClient is appreciated if you have time. I have tested this against an existing flow I have with DynamoDB memory, and it's working as expected. Sessions are being maintained, and overriding the sessionId is working as expected.

Screenshot 2024-02-07 at 8 32 21 PM Screenshot 2024-02-07 at 8 33 04 PM

@HenryHengZJ HenryHengZJ merged commit 1f2e58c into FlowiseAI:main Feb 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Dynamodb Chat Memory broken
2 participants