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

DOC: Example of agent with redis memory is not working properly #21243

Open
2 tasks done
tinkering-bhatia opened this issue May 3, 2024 · 1 comment
Open
2 tasks done
Labels
Ɑ: agent Related to agents module 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder 🔌: redis Primarily related to Redis integrations

Comments

@tinkering-bhatia
Copy link

tinkering-bhatia commented May 3, 2024

Checklist

  • I added a very descriptive title to this issue.
  • I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:

https://python.langchain.com/docs/modules/memory/agent_with_memory_in_db/

Screenshot 2024-05-03 at 3 20 25 PM

As you can see here, Agent cannot extract the memory context correctly because it is not able to recognize which country's national anthem is being asked about, whereas you can clearly see in the Chat message history that Canada is the country in question. Is this a bug, and it actually works but is wrong in the docs? Or is there a new way to do this and docs haven't been updated?

Idea or request for content:

Agent with Memory in redis

@dosubot dosubot bot added Ɑ: agent Related to agents module 🔌: redis Primarily related to Redis integrations 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder labels May 3, 2024
@liugddx
Copy link
Contributor

liugddx commented May 6, 2024

Let me see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: agent Related to agents module 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder 🔌: redis Primarily related to Redis integrations
Projects
None yet
Development

No branches or pull requests

2 participants