Skip to content

Conversation with memory #4

@erlebach

Description

@erlebach

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions