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

Conversation with memory #4

Open
erlebach opened this issue Sep 24, 2023 · 0 comments
Open

Conversation with memory #4

erlebach opened this issue Sep 24, 2023 · 0 comments

Comments

@erlebach
Copy link

Hi Sam,

In the conversation with memory tutorial, you have the lines:

from pprint import pprint
pprint(conversation.memory.store)

store apparently is no longer an attribute of memory. What would be the proper replacement? thanks. I get the error:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[/Users/erlebach/src/2023/langchain_ecosystem/langchain_tutorials_wittenveek/YT_LangChain_Basic_Conversation_Chatbot_with_Memory_Demo.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/erlebach/src/2023/langchain_ecosystem/langchain_tutorials_wittenveek/YT_LangChain_Basic_Conversation_Chatbot_with_Memory_Demo.ipynb) Cell 67 line 2
      [1](vscode-notebook-cell:/Users/erlebach/src/2023/langchain_ecosystem/langchain_tutorials_wittenveek/YT_LangChain_Basic_Conversation_Chatbot_with_Memory_Demo.ipynb#Y123sZmlsZQ%3D%3D?line=0) from pprint import pprint
----> [2](vscode-notebook-cell:/Users/erlebach/src/2023/langchain_ecosystem/langchain_tutorials_wittenveek/YT_LangChain_Basic_Conversation_Chatbot_with_Memory_Demo.ipynb#Y123sZmlsZQ%3D%3D?line=1) pprint(conversation.memory.store)

AttributeError: 'ConversationEntityMemory' object has no attribute 'store'

Thanks! Great tutorial videos by the way!

Gordon

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

No branches or pull requests

1 participant