Skip to main content

Function: reportToMlflow()

Function: reportToMlflow()

function reportToMlflow(
   client: MlflowClient, 
   results: EvalResult[], 
sqlWarehouseId?: string): Promise<ReportOutcome>;

Write one pass/fail assessment per eval result to the Databricks MLflow REST API. Never throws — failures are collected so the run still reports.

Parameters

ParameterType
clientMlflowClient
resultsEvalResult[]
sqlWarehouseId?string

Returns

Promise<ReportOutcome>

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs