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

    Interface GroundingModule

    Representation of the GroundingModuleConfig schema.

    interface GroundingModule {
        config: {
            filters?: DocumentGroundingFilter[];
            metadata_params?: string[];
            placeholders: { input: string[]; output: string };
        };
        type: any;
    }
    Index

    Properties

    Properties

    config: {
        filters?: DocumentGroundingFilter[];
        metadata_params?: string[];
        placeholders: { input: string[]; output: string };
    }

    Grounding service configuration.

    Type Declaration

    • Optionalfilters?: DocumentGroundingFilter[]

      Document grounding service filters to be used.

    • Optionalmetadata_params?: string[]

      Parameter name used for specifying metadata parameters.

    • placeholders: { input: string[]; output: string }

      Placeholders to be used for grounding input questions and output.

      • input: string[]

        Contains the input parameters used for grounding input questions Min Items: 1.

      • output: string

        Placeholder name for grounding output.

        'groundingOutput'
        
    type: any
    'document_grounding_service'
    

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