Client APIs
openai_chat_completions_request
Read the release-matched openai chat completions request documentation and its scope.
On this page
Publishes body facts for native Chat Completions create requests to durable metadata and filter results.
Configuration Notes
The filter reads the model and structured content modality from the buffered body. Its only configuration is the buffer bound. It publishes modality as durable metadata and a branch result. A repeated top-level model returns HTTP 400 before any fact is published.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
max_body_bytes | integer | no | Maximum body size in bytes for StreamBuffer mode. |
Examples
Example 1
filter: openai_chat_completions_request
Example 2
filter: openai_chat_completions_request
max_body_bytes: 1048576