Skip to content

Commit 353aa2d

Browse files
ofrancChangelog bot
andauthored
feat(changelog): add new entry (#3717)
Co-authored-by: Changelog bot <[email protected]>
1 parent d0e67df commit 353aa2d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: JSON mode and structured outputs
3+
status: added
4+
author:
5+
fullname: 'Join the #ai channel on Slack.'
6+
url: 'https://slack.scaleway.com'
7+
date: 2024-09-18
8+
category: ai-data
9+
product: managed-inference
10+
---
11+
12+
All AI models can now reliably generate JSON output when required. The [Chat Completions API](https://www.scaleway.com/en/docs/ai-data/managed-inference/reference-content/openai-compatibility/#supported-parameters) supports the `response_format` parameter, which can be set to either `json_object` or `json_schema`, following OpenAI's specifications exactly.
13+
14+
Refer to [our documentation for code examples](https://www.scaleway.com/en/docs/ai-data/generative-apis/how-to/use-structured-outputs/), including usage with Pydantic models or manual schema definitions.
15+

0 commit comments

Comments
 (0)