Skip to main content

Function: findRootEvalConfig()

Function: findRootEvalConfig()

function findRootEvalConfig(rootDir: string): string | undefined;

Path to the root evals.config.ts (from defineEvalConfig) at <rootDir>/evals.config.ts, or undefined when absent. The root config holds run-wide settings (baseUrl, webServer); it's distinct from the per-agent configs found by discoverEvalConfigs.

Parameters

ParameterType
rootDirstring

Returns

string | undefined

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs