learn
Method
This is a method of the Memory class in the memory module.Get the LearnManager for continuous learning capabilities. Returns None if learn is not enabled in config.
Signature
Returns
The result of the operation.
Get the LearnManager for continuous learning capabilities.
This is a method of the Memory class in the memory module.Get the LearnManager for continuous learning capabilities. Returns None if learn is not enabled in config.
def learn() -> Any
memory = Memory({"learn": True})
memory.learn.capture_persona("User prefers concise responses")
memory.learn.capture_insight("User works in data science")