kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/658/head
rodzic
4abde52146
commit
0481f08862
|
@ -36,10 +36,8 @@ export interface AIFunctionSpec {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether to enable strict schema adherence when generating the function
|
* Whether to enable strict schema adherence when generating the function
|
||||||
* parameters. If set to true, the model will always follow the exact schema
|
* parameters. Currently only supported by OpenAI's
|
||||||
* defined in the `schema` field. Only a subset of JSON Schema is supported
|
* [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).
|
||||||
* when `strict` is `true`. To learn more, read the
|
|
||||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
|
||||||
*/
|
*/
|
||||||
strict?: boolean
|
strict?: boolean
|
||||||
}
|
}
|
||||||
|
@ -156,8 +154,8 @@ export interface ResponseFormatJSONSchema {
|
||||||
* Whether to enable strict schema adherence when generating the output. If
|
* Whether to enable strict schema adherence when generating the output. If
|
||||||
* set to true, the model will always follow the exact schema defined in the
|
* set to true, the model will always follow the exact schema defined in the
|
||||||
* `schema` field. Only a subset of JSON Schema is supported when `strict`
|
* `schema` field. Only a subset of JSON Schema is supported when `strict`
|
||||||
* is `true`. To learn more, read the
|
* is `true`. Currently only supported by OpenAI's
|
||||||
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
|
* [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).
|
||||||
*/
|
*/
|
||||||
strict?: boolean
|
strict?: boolean
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue