Store In Memory • AI Agent SDK

store_in_memory: Store content in memory with metadata

store_in_memory

Method

</div>

This is a method of the Task class in the task module.

Store content in memory with metadata

Signature

python
def store_in_memory(content: str, agent_name: str, task_id: str) -> Any

Parameters

ParamField str

No description available.

ParamField str

No description available.

ParamField str

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • logger.info
  • store_long_term
  • time.time
  • logger.error
  • logger.exception

Source

View on GitHub

praisonaiagents/task/task.py at line 667


Related Documentation