Search Entity • AI Agent SDK

search_entity: Filter to items that have metadata 'category=entity'.

search_entity

Method

</div>

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

Filter to items that have metadata ‘category=entity’.

Signature

python
def search_entity(query: str, limit: int) -> List[Dict[str, Any]]

Parameters

ParamField str

No description available.

ParamField int

No description available.

Returns

ResponseField List[Dict[str, Any]]

The result of the operation.

Uses

  • search_long_term

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1771