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