Skip to main content

search_short_term

Method
This is a method of the Memory class in the memory module.
Search short-term memory with optional quality filter

Signature

def search_short_term(query: str, limit: int, min_quality: float, relevance_cutoff: float, rerank: bool) -> List[Dict[str, Any]]

Parameters

query
str
required
No description available.
limit
int
default:"5"
No description available.
min_quality
float
default:"0.0"
No description available.
relevance_cutoff
float
default:"0.0"
No description available.
rerank
bool
default:"False"
No description available.

Returns

Returns
List[Dict[str, Any]]
The result of the operation.