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

    Type Alias CollectionRequest

    CollectionRequest: {
        embeddingConfig: EmbeddingConfig;
        metadata?: VectorKeyValueListPair[];
        title?: string | null;
    } & Record<string, any>

    A request for creating a new, single collection.

    Type Declaration

    • embeddingConfig: EmbeddingConfig
    • Optionalmetadata?: VectorKeyValueListPair[]

      Metadata attached to collection. Useful to restrict search to a subset of collections. Default: [].

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

    • Optionaltitle?: string | null