feat: Add Conversation Memory Support to Agent#22
Open
Failureguy94 wants to merge 1 commit intomanas95826:mainfrom
Open
feat: Add Conversation Memory Support to Agent#22Failureguy94 wants to merge 1 commit intomanas95826:mainfrom
Failureguy94 wants to merge 1 commit intomanas95826:mainfrom
Conversation
Owner
|
Hey Sarthak,
Thanks for the contribution. I have added some comments. Kindly review that
and look forward to your contributions.
…On Fri, Jun 27, 2025 at 5:02 PM Sarthak Parkale ***@***.***> wrote:
This PR implements conversation memory support to enable context-aware
responses.
✅ Created BaseMemory and ConversationBufferMemory classes
✅ Integrated memory into the Agent class to track user-agent history
✅ Added cookbooks/memory_chat_example.py to demonstrate usage
✅ Successfully tested with both mocked and real Groq LLMs
Fixes #12 <#12>
------------------------------
You can view, comment on, or merge this pull request online at:
#22
Commit Summary
- b040ebe
<b040ebe>
test: add conversational memory example in cookbook
File Changes
(1 file <https://github.com/manas95826/empire-chain/pull/22/files>)
- *A* empire_chain/cookbooks/memory_chat_example.py
<https://github.com/manas95826/empire-chain/pull/22/files#diff-6e811c95403299c57cb081901170274d9bac1ce9e51db2a5c6a8bce2e51bd0ce>
(23)
Patch Links:
- https://github.com/manas95826/empire-chain/pull/22.patch
- https://github.com/manas95826/empire-chain/pull/22.diff
—
Reply to this email directly, view it on GitHub
<#22>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARVERAKCZS3O6XRECB34XHT3FUTVBAVCNFSM6AAAAACAIX3MXOVHI2DSMVQWIX3LMV43ASLTON2WKOZTGE4DENBYGQZDENA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements conversation memory support to enable context-aware responses.
✅ Created
BaseMemoryandConversationBufferMemoryclasses✅ Integrated memory into the
Agentclass to track user-agent history✅ Added
cookbooks/memory_chat_example.pyto demonstrate usage✅ Successfully tested with both mocked and real Groq LLMs
Fixes #12