SAP AI SDK for JavaScript - v2.9.0
    Preparing search index...

    Type Alias RetrievalChunk

    RetrievalChunk: {
        content: string;
        id: string;
        metadata?: RetrievalKeyValueListPair[];
        postProcessingScore?: Score;
        searchScores?: SearchScores;
    } & Record<string, any>

    Representation of the 'RetrievalChunk' schema.

    Type Declaration

    • content: string
    • id: string
    • Optionalmetadata?: RetrievalKeyValueListPair[]

      Default: [].

      Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

    • OptionalpostProcessingScore?: Score
    • OptionalsearchScores?: SearchScores