Skip to main content

search

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

Signature

async def search(&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.