Skip to content

Commit

Permalink
Docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
ddebowczyk committed Aug 7, 2024
1 parent 9c9f4ce commit 8e10a71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/essentials/modes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ the provided schema.

It is currently supported only by new OpenAI models (check their docs for details).

NOTE: OpenAI JsonSchema mode does not support optional properties. If you need to have optional
properties in your schema, use `Mode::Tools` or `Mode::Json`.

See more about JSONSchema mode in:

- https://platform.openai.com/docs/guides/structured-outputs
Expand Down

0 comments on commit 8e10a71

Please sign in to comment.