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

    Type Alias BoostingScoringConfiguration

    BoostingScoringConfiguration: {
        enabled?: boolean | null;
        metadata?:
            | (
                {
                    key: string;
                    scope?: "repository"
                    | "document"
                    | "chunk";
                    value: string[];
                    weight: number;
                } & Record<string, any>
            )[]
            | null;
        scoreComputationStrategy?: BoostingScoreComputationStrategy;
        weight?: number | null;
    } & Record<string, any>

    Representation of the 'BoostingScoringConfiguration' schema.

    Type Declaration

    • Optionalenabled?: boolean | null

      Enable metadata-based boosting. Default: true.

    • Optionalmetadata?:
          | (
              {
                  key: string;
                  scope?: "repository"
                  | "document"
                  | "chunk";
                  value: string[];
                  weight: number;
              } & Record<string, any>
          )[]
          | null

      Default: [].

    • OptionalscoreComputationStrategy?: BoostingScoreComputationStrategy
    • Optionalweight?: number | null

      Contribution to final score. Default: 1.

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