Client APIs

openai_chat_completions_request

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

Praxis AI v0.12.1 (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 is a transparent fact producer: it reads the model from the buffered body and never rejects a request, so it carries no on_invalid behavior and no promotion headers — only the buffer bound.

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