Skip to content

Commit

Permalink
add notes on nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmer1 committed Dec 9, 2024
1 parent cfcd743 commit 60237e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fern/pages/text-generation/structured-outputs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ In this schema, we defined three keys ("title," "author," "publication_year") an

### Generating nested objects

The model can be configured to output objects with up to 5 levels of nesting. When a `schema` is specified, there are no limitations on the levels of nesting.
In JSON Schema mode, there are no limitations on the levels of nesting. However, in JSON mode (no schema specified), nesting is limited to 5 levels.

### Schema constraints

Expand Down
2 changes: 1 addition & 1 deletion fern/pages/v2/text-generation/structured-outputs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ In summary, opt for:

### Generating nested objects

The model can be configured to output objects with up to 5 levels of nesting. When a `schema` is specified, there are no limitations on the levels of nesting.
In JSON Schema mode, there are no limitations on the levels of nesting. However, in JSON mode (no schema specified), nesting is limited to 5 levels.

### Schema constraints

Expand Down

0 comments on commit 60237e7

Please sign in to comment.