memory#
Memory component for user-assistant conversations.
Memory can include data modeling, in-memory data storage, local file data storage, cloud data persistence, data pipeline, data retriever. It is itself an LLM application and different use cases can do it differently.
This component handles the storage and retrieval of conversation history between users and assistants. It provides local memory experience with the ability to format and return conversation history.
- current_conversation#
Stores the current active conversation.
- Type:
Conversation
Classes
|
- class Memory(turn_db: LocalDB = None)[source]#
Bases:
Component