Search Long Term • AI Agent SDK

search_long_term: Search MongoDB long-term collection.

search_long_term

Method

</div>

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

Search MongoDB long-term collection.

Signature

python
def search_long_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.

Used By

Source

View on GitHub

praisonaiagents/memory/adapters/factories.py at line 595