memory library

Contains core abstractions related to memory.

Classes

BaseChatMemory
Base interface for chat memory.
BaseMemory
Base interface for memory in chains.

Functions

getPromptInputKey(MemoryInputValues inputValues, Set<String> memoryKeys) String
This function is used by memory classes to select the input value to use for the memory.

Typedefs

MemoryInputValues = Map<String, dynamic>
Input values to load from memory.
MemoryOutputValues = Map<String, dynamic>
Output values to save to memory.
MemoryVariables = Map<String, dynamic>
Key-value pairs loaded from memory.