公众号验证码功能完成 yeah!!!
This commit is contained in:
172
node_modules/openai/resources/evals/runs/runs.d.mts
generated
vendored
172
node_modules/openai/resources/evals/runs/runs.d.mts
generated
vendored
@@ -146,7 +146,7 @@ export declare namespace CreateEvalCompletionsRunDataSource {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -206,6 +206,21 @@ export declare namespace CreateEvalCompletionsRunDataSource {
|
||||
* The maximum number of tokens in the generated output.
|
||||
*/
|
||||
max_completion_tokens?: number;
|
||||
/**
|
||||
* 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;
|
||||
/**
|
||||
* An object specifying the format that the model must output.
|
||||
*
|
||||
@@ -455,8 +470,18 @@ export declare namespace RunCreateResponse {
|
||||
*/
|
||||
model?: string | null;
|
||||
/**
|
||||
* Optional reasoning effort parameter. This is a query parameter used to select
|
||||
* responses.
|
||||
* 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;
|
||||
/**
|
||||
@@ -509,7 +534,7 @@ export declare namespace RunCreateResponse {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -569,6 +594,21 @@ export declare namespace RunCreateResponse {
|
||||
* The maximum number of tokens in the generated output.
|
||||
*/
|
||||
max_completion_tokens?: number;
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@@ -854,8 +894,18 @@ export declare namespace RunRetrieveResponse {
|
||||
*/
|
||||
model?: string | null;
|
||||
/**
|
||||
* Optional reasoning effort parameter. This is a query parameter used to select
|
||||
* responses.
|
||||
* 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;
|
||||
/**
|
||||
@@ -908,7 +958,7 @@ export declare namespace RunRetrieveResponse {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -968,6 +1018,21 @@ export declare namespace RunRetrieveResponse {
|
||||
* The maximum number of tokens in the generated output.
|
||||
*/
|
||||
max_completion_tokens?: number;
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@@ -1253,8 +1318,18 @@ export declare namespace RunListResponse {
|
||||
*/
|
||||
model?: string | null;
|
||||
/**
|
||||
* Optional reasoning effort parameter. This is a query parameter used to select
|
||||
* responses.
|
||||
* 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;
|
||||
/**
|
||||
@@ -1307,7 +1382,7 @@ export declare namespace RunListResponse {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -1367,6 +1442,21 @@ export declare namespace RunListResponse {
|
||||
* The maximum number of tokens in the generated output.
|
||||
*/
|
||||
max_completion_tokens?: number;
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@@ -1657,8 +1747,18 @@ export declare namespace RunCancelResponse {
|
||||
*/
|
||||
model?: string | null;
|
||||
/**
|
||||
* Optional reasoning effort parameter. This is a query parameter used to select
|
||||
* responses.
|
||||
* 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;
|
||||
/**
|
||||
@@ -1711,7 +1811,7 @@ export declare namespace RunCancelResponse {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -1771,6 +1871,21 @@ export declare namespace RunCancelResponse {
|
||||
* The maximum number of tokens in the generated output.
|
||||
*/
|
||||
max_completion_tokens?: number;
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
@@ -2009,8 +2124,18 @@ export declare namespace RunCreateParams {
|
||||
*/
|
||||
model?: string | null;
|
||||
/**
|
||||
* Optional reasoning effort parameter. This is a query parameter used to select
|
||||
* responses.
|
||||
* 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;
|
||||
/**
|
||||
@@ -2063,7 +2188,7 @@ export declare namespace RunCreateParams {
|
||||
/**
|
||||
* Inputs to the model - can contain template strings.
|
||||
*/
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | Array<unknown>;
|
||||
content: string | ResponsesAPI.ResponseInputText | EvalItem.OutputText | EvalItem.InputImage | ResponsesAPI.ResponseInputAudio | Array<unknown>;
|
||||
/**
|
||||
* The role of the message input. One of `user`, `assistant`, `system`, or
|
||||
* `developer`.
|
||||
@@ -2123,6 +2248,21 @@ export declare namespace RunCreateParams {
|
||||
* The maximum number of tokens in the generated output.
|
||||
*/
|
||||
max_completion_tokens?: number;
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user