search • AI Agent SDK
search: Search entries by query.
search
Method
</div>
This is a method of the LearnProtocol class in the protocols module.
Search entries by query.
Signature
def search(query: str, limit: int) -> List[Dict[str, Any]]Parameters
ParamField
strSearch query string
ParamField
intMaximum results to return
Returns
ResponseField
List[Dict[str, Any]]List of matching entries
Used By
Source
View on GitHubpraisonaiagents/memory/learn/protocols.py at line 61