Skip to main content

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

  • ValueError
  • store_short_term
  • add_short_term
  • store_long_term
  • add_long_term
  • add_entity
  • add_episodic
  • logging.warning
  • asyncio.get_running_loop
  • asyncio.create_task

Source

View on GitHub

praisonaiagents/agent/agent.py at line 5573

Memory Concept

Memory Overview

Memory Configuration

Session Resume