Function: createMetricConfigs()
Parameters
projectId
string
The ID of the project
runId
string
The ID of the run (can be experiment ID or log stream ID)
metrics
( |string
| Metric
| LocalMetricConfig)[]
List of metrics to configure. Can include: - GalileoMetrics const object values (e.g., GalileoMetrics.correctness) - Metric objects with name and optional version - LocalMetricConfig objects for client-side scoring - String names of metrics
Returns
Promise<[ScorerConfig[], LocalMetricConfig[]]>
A promise that resolves to a tuple containing: - Array of ScorerConfig objects for server-side metrics - Array of LocalMetricConfig objects for client-side metrics