公众号验证码功能完成 yeah!!!
This commit is contained in:
43
node_modules/openai/resources/graders/grader-models.d.ts
generated
vendored
43
node_modules/openai/resources/graders/grader-models.d.ts
generated
vendored
@@ -1,4 +1,5 @@
|
||||
import { APIResource } from "../../core/resource.js";
|
||||
import * as Shared from "../shared.js";
|
||||
import * as ResponsesAPI from "../responses/responses.js";
|
||||
export declare class GraderModels extends APIResource {
|
||||
}
|
||||
@@ -41,7 +42,7 @@ export declare namespace LabelModelGrader {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -157,7 +158,7 @@ export interface ScoreModelGrader {
|
||||
/**
|
||||
* The sampling parameters for the model.
|
||||
*/
|
||||
sampling_params?: unknown;
|
||||
sampling_params?: ScoreModelGrader.SamplingParams;
|
||||
}
|
||||
export declare namespace ScoreModelGrader {
|
||||
/**
|
||||
@@ -171,7 +172,7 @@ export declare namespace ScoreModelGrader {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | Input.OutputText | Input.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -215,6 +216,42 @@ export declare namespace ScoreModelGrader {
|
||||
detail?: string;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* The sampling parameters for the model.
|
||||
*/
|
||||
interface SamplingParams {
|
||||
/**
|
||||
* The maximum number of tokens the grader model may generate in its response.
|
||||
*/
|
||||
max_completions_tokens?: number | null;
|
||||
/**
|
||||
* Constrains effort on reasoning for
|
||||
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
|
||||
* supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
|
||||
* reasoning effort can result in faster responses and fewer tokens used on
|
||||
* reasoning in a response.
|
||||
*
|
||||
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
|
||||
* reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
|
||||
* calls are supported for all reasoning values in gpt-5.1.
|
||||
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
|
||||
* support `none`.
|
||||
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
||||
*/
|
||||
reasoning_effort?: Shared.ReasoningEffort | null;
|
||||
/**
|
||||
* A seed value to initialize the randomness, during sampling.
|
||||
*/
|
||||
seed?: number | null;
|
||||
/**
|
||||
* A higher temperature increases randomness in the outputs.
|
||||
*/
|
||||
temperature?: number | null;
|
||||
/**
|
||||
* An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
|
||||
*/
|
||||
top_p?: number | null;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* A StringCheckGrader object that performs a string comparison between input and
|
||||
|
||||
Reference in New Issue
Block a user