Skip to content

Commit

Permalink
💩
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Aug 8, 2024
1 parent 4abde52 commit 0481f08
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ export interface AIFunctionSpec {

/**
* Whether to enable strict schema adherence when generating the function
* parameters. If 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` is `true`. To learn more, read the
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
* parameters. Currently only supported by OpenAI's
* [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).
*/
strict?: boolean
}
Expand Down Expand Up @@ -156,8 +154,8 @@ export interface ResponseFormatJSONSchema {
* 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
* `schema` field. Only a subset of JSON Schema is supported when `strict`
* is `true`. To learn more, read the
* [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
* is `true`. Currently only supported by OpenAI's
* [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs).
*/
strict?: boolean
}
Expand Down

0 comments on commit 0481f08

Please sign in to comment.