Skip to content

send memory to LLM #34

@avelino

Description

@avelino

We're not sending the memory to llm, i.e. LLM doesn't have the conversation history, so it can't respond in a personalized way based on the conversation history.

reference https://python.langchain.com/docs/modules/memory/adding_memory

The PostgresChatMessageHistory class is not an instance of BaseMemory, it inherits from ABC (abstract class).

possible solution

implement conversion of the message list to an instance of the BaseMemory class

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions