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

    Type Alias RetrievalSearchConfiguration

    RetrievalSearchConfiguration: {
        maxChunkCount?: number | null;
        maxDocumentCount?: number | null;
    } & Record<string, any>

    Representation of the 'RetrievalSearchConfiguration' schema.

    Type Declaration

    • OptionalmaxChunkCount?: number | null

      Maximum number of chunks to be returned. Cannot be used with 'maxDocumentCount'.

    • OptionalmaxDocumentCount?: number | null

      [Only supports 'vector' dataRepositoryType] - Maximum number of documents to be returned. Cannot be used with 'maxChunkCount'. If maxDocumentCount is given, then only one chunk per document is returned.

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