Predicted Outputs

Predicted Outputs lets an API caller supply expected response text to accelerate tasks where most of the output is already known.

A common use is regenerating an existing code file with a small change. OpenAI exposes the feature through the prediction parameter on supported Chat Completions models. It requires an API integration, not just an instruction in the prompt, and its benefit depends on how much predicted text matches.

Source: OpenAI Predicted Outputs guide

All AI terms