Skip to main content

prefetch

Function prefetch 

Source
pub async fn prefetch(
    query: &str,
    executor: &mut ExecutorConn,
    target: Option<(String, String)>,
) -> Option<String>
Expand description

Dispatch one search_memory call and return the result text. Returns None if the provider is not registered, the index is empty, or any error occurs.