store_memory
Method
This is a method of the Agent class in the agent module.Store content in memory.
Signature
Parameters
str
required
Content to store
str
default:"'short_term'"
Type of memory (short_term, long_term, entity, episodic)
str
default:"'add'"
Type of operation (“add”, “replace”, “remove”) **kwargs: Additional arguments for the memory method
Uses
ValueErrorstore_short_termadd_short_termstore_long_termadd_long_termadd_entityadd_episodiclogging.warningasyncio.get_running_loopasyncio.create_task
Source
View on GitHub
praisonaiagents/agent/agent.py at line 5573
