Github
  • Preparing search index...
  • The search index is not available
Trieve Typescript SDK - v0.0.97
  • Trieve Typescript SDK
  • Group Methods
  • searchInGroup

Function searchInGroup

  • searchInGroup(data, signal?, parseHeaders?): Promise<SearchWithinGroupResponseBody>
  • This function allows you to search only within a group. This is useful for when you only want search results to contain chunks which are members of a specific group. If choosing hybrid search, the results will be re-ranked using scores from a cross encoder model.

    Example:

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

    Parameters

    • data: SearchWithinGroupReqPayload
    • Optionalsignal: AbortSignal
    • OptionalparseHeaders: ((headers: Record<string, string>) => void)
        • (headers): void
        • Parameters

          • headers: Record<string, string>

          Returns void

    Returns Promise<SearchWithinGroupResponseBody>

    • Defined in clients/ts-sdk/src/functions/groups/index.ts:106

Settings

Member Visibility
Github
Trieve Typescript SDK - v0.0.97
  • Loading...

Generated using TypeDoc

Please reach out if you'd like assistance; we are responsive! Contact humans@trieve.ai or see trieve.ai for links to Discord and Matrix.