Github
  • Preparing search index...
  • The search index is not available
Trieve Typescript SDK - v0.0.122
  • Trieve Typescript SDK
  • Chunk Methods
  • getRecommendedChunks

Function getRecommendedChunks

  • getRecommendedChunks(props, signal?): Promise<RecommendChunksResponseBody>
  • Function that allows you to recommendations of chunks similar to the positive samples in the request and dissimilar to the negative.

    Example:

    const data = await trieve.getRecommendedChunks({
    positive_chunk_ids: [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    });

    Parameters

    • props: RecommendChunksRequest
    • Optionalsignal: AbortSignal

    Returns Promise<RecommendChunksResponseBody>

    • Defined in clients/ts-sdk/src/functions/chunks/index.ts:151

Settings

Member Visibility
Github
Trieve Typescript SDK - v0.0.122
  • 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.