Skip to main content

Function: createCustomLlmMetric()

function createCustomLlmMetric(
  params: CreateCustomLlmMetricParams,
): Promise<BaseScorerVersionResponse>;
Defined in: src/utils/metrics.ts Creates a custom LLM metric.

Parameters

params

CreateCustomLlmMetricParams The parameters for creating the custom LLM metric.

Returns

Promise<BaseScorerVersionResponse> A promise that resolves when the metric is created.