first commit
This commit is contained in:
22
node_modules/n8n-workflow/dist/esm/evaluation-helpers.d.ts
generated
vendored
Normal file
22
node_modules/n8n-workflow/dist/esm/evaluation-helpers.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Evaluation-related utility functions
|
||||
*
|
||||
* This file contains utilities that need to be shared between different packages
|
||||
* to avoid circular dependencies. For example, the evaluation test-runner (in CLI package)
|
||||
* and the Evaluation node (in nodes-base package) both need to know which metrics
|
||||
* require AI model connections, but they can't import from each other directly.
|
||||
*
|
||||
* By placing shared utilities here in the workflow package (which both packages depend on),
|
||||
* we avoid circular dependency issues.
|
||||
*/
|
||||
/**
|
||||
* Default metric type used in evaluations
|
||||
*/
|
||||
export declare const DEFAULT_EVALUATION_METRIC = "correctness";
|
||||
/**
|
||||
* Determines if a given evaluation metric requires an AI model connection
|
||||
* @param metric The metric name to check
|
||||
* @returns true if the metric requires an AI model connection
|
||||
*/
|
||||
export declare function metricRequiresModelConnection(metric: string): boolean;
|
||||
//# sourceMappingURL=evaluation-helpers.d.ts.map
|
||||
Reference in New Issue
Block a user