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
Returns
Promise
<[object
[], 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