OpenAIResponsesParams
OpenAI Responses API parameters layered on top of LLMParams.
Use these options to generate text or JSON, call built-in tools (e.g., web/file search) or your own functions, enable background processing, include auxiliary outputs, and tune sampling, reasoning, and truncation behavior. All parameters are optional; when unset, provider/model defaults apply.
Constructors
Properties
Run the response in the background (non-blocking).
Maximum total number of built-in tool calls allowed in this response (≥ 0).
Whether tool calls may run in parallel.
Stable cache key for prompt caching (non-blank when provided).
Reasoning configuration for reasoning-capable models.
Stable app-scoped user ID for policy enforcement (non-blank when provided).
Processing tier selection for cost/latency trade-offs.
Number of top alternatives per position (0–20). Requires logprobs = true.
Nucleus sampling in (0.0, 1.0]; use instead of temperature.
Truncation strategy when nearing the context window.
Functions
Creates a copy of this instance with the ability to modify any of its properties.