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/metadata/user filter

Signature

Parameters

str
required
No description available.
int
default:"5"
No description available.
float
default:"0.0"
No description available.
float
default:"0.0"
No description available.
bool
default:"False"
No description available.
Optional
No description available.
Optional[str]
No description available.

Returns

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

Uses

  • aggregate
  • limit
  • find
  • embedding
  • query
  • search_short_term
  • conn.cursor
  • fetchall
  • c.execute
  • json.loads

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 625