Skip to main content

update

Method
This is a method of the LearnProtocol class in the protocols module.
Update an existing entry.

Signature

Parameters

str
required
Entry identifier
str
required
New content
Optional
Optional metadata to merge

Returns

Optional[Dict[str, Any]]
Updated entry or None if not found

Source

View on GitHub

praisonaiagents/memory/learn/protocols.py at line 108