Search With Quality • AI Agent SDK

search_with_quality: Search with quality filter

search_with_quality

Method

</div>

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

Search with quality filter

Signature

python
def search_with_quality(query: str, min_quality: float, memory_type: Literal['short', 'long'], limit: int) -> List[Dict[str, Any]]

Parameters

ParamField str

No description available.

ParamField float

No description available.

ParamField Literal

No description available.

ParamField int

No description available.

Returns

ResponseField List[Dict[str, Any]]

The result of the operation.

Uses

  • logger.info
  • search_func

Source

View on GitHub

praisonaiagents/memory/memory.py at line 2392