Store Entity • AI Agent SDK

store_entity: Save entity info in LTM (or mem0/rag).

store_entity

Method

</div>

This is a method of the Memory class in the memory module.

Save entity info in LTM (or mem0/rag). We’ll label the metadata type = entity for easy filtering.

Signature

python
def store_entity(name: str, type_: str, desc: str, relations: str) -> Any

Parameters

ParamField str

No description available.

ParamField str

No description available.

ParamField str

No description available.

ParamField str

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • store_long_term

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1763