Skip to main content

search

AsyncMethod
This is a method of the VectorStoreProtocol class in the knowledge module.
Search for similar records

Signature

async def search(&self, query_embedding: &[f32], limit: usize) -> Result<Vec<SearchResultItem>>

Parameters

query_embedding
&
required
No description available.
limit
usize
required
No description available.

Returns

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