Skip to main content

add

Method
This is a method of the LearnProtocol class in the protocols module.
Add a new entry to the store.

Signature

Parameters

str
required
The content to store
Optional
Optional metadata dictionary

Returns

Dict[str, Any]
Dictionary with entry details including ‘id’

Used By

Source

View on GitHub

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