Function search_chunks

Source
pub async fn search_chunks(
    configuration: &Configuration,
    tr_dataset: &str,
    search_chunks_req_payload: SearchChunksReqPayload,
    x_api_version: Option<ApiVersion>,
) -> Result<SearchResponseTypes, Error<SearchChunksError>>
Expand description

This route provides the primary search functionality for the API. It can be used to search for chunks by semantic similarity, full-text similarity, or a combination of both. Results’ chunk_html values will be modified with <b><mark> tags for sub-sentence highlighting.