mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
11 lines
1.7 KiB
Markdown
11 lines
1.7 KiB
Markdown
# ChatCompletionCreateParamsResponseFormatGrammar
|
|
|
|
Custom grammar response format
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
| `type` | [models.ChatCompletionCreateParamsTypeGrammar](../models/chatcompletioncreateparamstypegrammar.md) | :heavy_check_mark: | N/A |
|
|
| `grammar` | *str* | :heavy_check_mark: | Custom grammar for text generation | |