公众号验证码功能完成 yeah!!!
This commit is contained in:
68
node_modules/openai/resources/evals/runs/output-items.d.mts
generated
vendored
68
node_modules/openai/resources/evals/runs/output-items.d.mts
generated
vendored
@@ -45,11 +45,9 @@ export interface OutputItemRetrieveResponse {
|
||||
*/
|
||||
object: 'eval.run.output_item';
|
||||
/**
|
||||
* A list of results from the evaluation run.
|
||||
* A list of grader results for this output item.
|
||||
*/
|
||||
results: Array<{
|
||||
[key: string]: unknown;
|
||||
}>;
|
||||
results: Array<OutputItemRetrieveResponse.Result>;
|
||||
/**
|
||||
* The identifier of the evaluation run associated with this output item.
|
||||
*/
|
||||
@@ -64,6 +62,34 @@ export interface OutputItemRetrieveResponse {
|
||||
status: string;
|
||||
}
|
||||
export declare namespace OutputItemRetrieveResponse {
|
||||
/**
|
||||
* A single grader result for an evaluation run output item.
|
||||
*/
|
||||
interface Result {
|
||||
/**
|
||||
* The name of the grader.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Whether the grader considered the output a pass.
|
||||
*/
|
||||
passed: boolean;
|
||||
/**
|
||||
* The numeric score produced by the grader.
|
||||
*/
|
||||
score: number;
|
||||
/**
|
||||
* Optional sample or intermediate data produced by the grader.
|
||||
*/
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
} | null;
|
||||
/**
|
||||
* The grader type (for example, "string-check-grader").
|
||||
*/
|
||||
type?: string;
|
||||
[k: string]: unknown;
|
||||
}
|
||||
/**
|
||||
* A sample containing the input and output of the evaluation run.
|
||||
*/
|
||||
@@ -187,11 +213,9 @@ export interface OutputItemListResponse {
|
||||
*/
|
||||
object: 'eval.run.output_item';
|
||||
/**
|
||||
* A list of results from the evaluation run.
|
||||
* A list of grader results for this output item.
|
||||
*/
|
||||
results: Array<{
|
||||
[key: string]: unknown;
|
||||
}>;
|
||||
results: Array<OutputItemListResponse.Result>;
|
||||
/**
|
||||
* The identifier of the evaluation run associated with this output item.
|
||||
*/
|
||||
@@ -206,6 +230,34 @@ export interface OutputItemListResponse {
|
||||
status: string;
|
||||
}
|
||||
export declare namespace OutputItemListResponse {
|
||||
/**
|
||||
* A single grader result for an evaluation run output item.
|
||||
*/
|
||||
interface Result {
|
||||
/**
|
||||
* The name of the grader.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Whether the grader considered the output a pass.
|
||||
*/
|
||||
passed: boolean;
|
||||
/**
|
||||
* The numeric score produced by the grader.
|
||||
*/
|
||||
score: number;
|
||||
/**
|
||||
* Optional sample or intermediate data produced by the grader.
|
||||
*/
|
||||
sample?: {
|
||||
[key: string]: unknown;
|
||||
} | null;
|
||||
/**
|
||||
* The grader type (for example, "string-check-grader").
|
||||
*/
|
||||
type?: string;
|
||||
[k: string]: unknown;
|
||||
}
|
||||
/**
|
||||
* A sample containing the input and output of the evaluation run.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user