Skip to main content

search_short_term

AsyncMethod
This is a method of the MemoryAdapter class in the memory module.
Search short-term memory

Signature

async def search_short_term(&self, query: &str, limit: usize) -> Result<Vec<Message>>

Parameters

query
&str
required
No description available.
limit
usize
required
No description available.

Returns

Returns
Result<Vec<Message>>
The result of the operation.