Search Short Term • AI Agent SDK

search_short_term: Search mem0 (treated as long-term since mem0 doesn't distinguish).

search_short_term

Method

</div>

This is a method of the Mem0MemoryAdapter class in the factories module.

Search mem0 (treated as long-term since mem0 doesn’t distinguish).

Signature

python
def search_short_term(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/adapters/factories.py at line 233