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

    Type Alias VectorSearchFilter

    VectorSearchFilter: {
        chunkMetadata?: VectorKeyValueListPair[];
        collectionIds: string[];
        collectionMetadata?: VectorKeyValueListPair[] | null;
        configuration: VectorSearchConfiguration;
        documentMetadata?: VectorSearchDocumentKeyValueListPair[] | null;
        filter?: BinaryBooleanFilter | ScopedKeyValueListPair | null;
        id: string;
    } & Record<string, any>

    Representation of the 'VectorSearchFilter' schema.

    Type Declaration

    • OptionalchunkMetadata?: VectorKeyValueListPair[]

      Restrict chunks considered during search to those with the given metadata. Default: [].

    • collectionIds: string[]
    • OptionalcollectionMetadata?: VectorKeyValueListPair[] | null

      Restrict collections considered during search to those annotated with the given metadata. Useful when combined with collections=['*'] Default: [].

    • configuration: VectorSearchConfiguration
    • OptionaldocumentMetadata?: VectorSearchDocumentKeyValueListPair[] | null

      Restrict documents considered during search to those annotated with the given metadata. Default: [].

    • Optionalfilter?: BinaryBooleanFilter | ScopedKeyValueListPair | null

      Advanced filter expression for combining metadata filters with boolean logic

    • id: string

      Identifier of this VectorSearchFilter - unique per request.

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