Skip to main content

get_learn_context

Method
This is a method of the Memory class in the memory module.
Get learning context suitable for injection into system prompt. Returns empty string if learn is not enabled.

Signature

def get_learn_context() -> str

Returns

Returns
str
The result of the operation.