Skip to main content

Function: createCustomCodeMetric()

Defined in: src/utils/metrics.ts Creates a custom code-based metric.

Parameters

params

CreateCustomCodeMetricParams The parameters for creating the custom code metric.

Returns

Promise<BaseScorerVersionResponse> A promise that resolves with the created scorer version.