公众号验证码功能完成 yeah!!!

This commit is contained in:
2025-11-21 15:33:03 +08:00
parent ad35173301
commit 6330f6faa1
614 changed files with 31574 additions and 4571 deletions

View File

@@ -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.
*/