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

Function scroll

  • scroll(props, signal?): Promise<ScrollChunksResponseBody>
  • Get paginated chunks from your dataset with filters and custom sorting. If sort by is not specified, the results will sort by the id’s of the chunks in ascending order. Sort by and offset_chunk_id cannot be used together; if you want to scroll with a sort by then you need to use a must_not filter with the ids you have already seen. There is a limit of 1000 id’s in a must_not filter at a time.

    Example:

    const data = await trieve.scroll({
    page_size: 10
    });

    Parameters

    • props: ScrollChunksReqPayload
    • Optionalsignal: AbortSignal

    Returns Promise<ScrollChunksResponseBody>

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

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.