UNPKG

@sap-ai-sdk/document-grounding

Version:

> [!warning] > This package is still in **beta** and is subject to breaking changes. Use it with caution.

33 lines 896 B
import type { BoostingScoreComputationStrategy } from './boosting-score-computation-strategy.js'; /** * Representation of the 'BoostingScoringConfiguration' schema. */ export type BoostingScoringConfiguration = { /** * Enable metadata-based boosting. * Default: true. */ enabled?: boolean | null; /** * Default: []. */ metadata?: ({ /** * Max Length: 1024. */ key: string; value: string[]; /** * Default: "document". */ scope?: 'repository' | 'document' | 'chunk'; weight: number; } & Record<string, any>)[] | null; /** * Contribution to final score. * Default: 1. */ weight?: number | null; scoreComputationStrategy?: BoostingScoreComputationStrategy; } & Record<string, any>; //# sourceMappingURL=boosting-scoring-configuration.d.ts.map