Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt

Use this file to discover all available pages before exploring further.


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.