# 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

- ##### `Optional` enabled?: boolean | null

  Enable metadata-based boosting. Default: true.

- ##### `Optional` metadata?:
  | (
  {
  key: string;
  scope?: "repository"
  | "document"
  | "chunk";
  value: string[];
  weight: number;
  } & Record<string, any>
  )[]
  | null

  Default: [].

- ##### `Optional` scoreComputationStrategy?: BoostingScoreComputationStrategy

- ##### `Optional` weight?: number | null

  Contribution to final score. Default: 1.

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

- Defined in packages/document-grounding/dist/client/api/schema/boosting-scoring-configuration.d.ts:5