Skip to main content

len

Method
This is a method of the ConversationHistory class in the memory module.
Get the number of messages

Signature

def len(&self) -> usize

Returns

Returns
usize
The result of the operation.