Ir al contenido principal

Function: discoverEvalFiles()

Function: discoverEvalFiles()

function discoverEvalFiles(rootDir: string): DiscoveredEval[];

Discover evals under <rootDir>/server/agents/<agent>/evals/ — co-located with each agent's agent.{md,ts} (same folder-per-agent layout the agents plugin discovers). The agent id is the folder name; the eval id is the file path relative to that evals dir with .eval.ts stripped. Sorted + stable.

Parameters

ParameterType
rootDirstring

Returns

DiscoveredEval[]

Databricks Developer Hub

¿Todo listo para lanzar tu próxima aplicación basada en agentes en minutos?

Leer la documentación