Function: deleteMetric()

function deleteMetric(
  scorerName: string,
  scorerType: ScorerTypes,
): Promise<void>;

Defined in: src/utils/metrics.ts:60

Deletes a metric by its name and type.

Parameters

scorerName

string

The name of the scorer to delete.

scorerType

ScorerTypes

The type of the scorer.

Returns

Promise<void>

A promise that resolves when the scorer is deleted.

Throws

Error if the scorer with the given name is not found.