Client APIs

openai_chat_completions_request

Read the release-matched openai chat completions request documentation and its scope.

Praxis AI v0.13.0 (alpha) 1 min read
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

FieldTypeRequiredDescription
max_body_bytesintegernoMaximum 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