• This function allows you to get groups as results instead of chunks. Each group returned will have the matching chunks sorted by similarity within the group. This is useful for when you want to get groups of chunks which are similar to the search query. If choosing hybrid search, the results will be re-ranked using scores from a cross encoder model. Compatible with semantic, fulltext, or hybrid search modes.

    Example:

    const data = await trieve.searchOverGroups({
    query: "a query",
    });

    Parameters

    Returns Promise<SearchOverGroupsResponseBody>