Ask a question to get started
Enter to send•Shift+Enter new line
ConversationBufferWindowMemory()
BaseChatMemory
The key from the model Run's inputs to use as the eval input.
Save the context of this chain run to memory.
Async save the context of this chain run to memory.
Clear memory contents.
Async clear memory contents.
Async return key-value pairs given the text input to the chain.
Number of messages to store in buffer.
String buffer of memory.
Exposes the buffer as a string in case return_messages is False.
Exposes the buffer as a list of messages in case return_messages is True.
Will always return list of memory variables.
Return history buffer.
Use to keep track of the last k turns of a conversation.
If the number of messages in the conversation is more than the maximum number of messages to keep, the oldest messages are dropped.