mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0 (#382)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "ChatFormatJSONSchemaConfig"
|
||||
---
|
||||
|
||||
JSON Schema response format for structured outputs
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `json_schema` | [components.ChatJSONSchemaConfig](../components/chatjsonschemaconfig.mdx) | :heavy_check_mark: | JSON Schema configuration object | \{<br/>"description": "A mathematical response",<br/>"name": "math_response",<br/>"schema": \{<br/>"properties": \{<br/>"answer": \{<br/>"type": "number"<br/>}<br/>},<br/>"required": [<br/>"answer"<br/>],<br/>"type": "object"<br/>},<br/>"strict": true<br/>} |
|
||||
| `type` | [components.ChatFormatJSONSchemaConfigType](../components/chatformatjsonschemaconfigtype.mdx) | :heavy_check_mark: | N/A | |
|
||||
Reference in New Issue
Block a user