ResponseRequest
@Serializable
Creates a model response.
Constructors
Link copied to clipboard
constructor(model: ModelId, input: ResponseInput? = null, instructions: String? = null, maxOutputTokens: Int? = null, metadata: Map<String, String>? = null, parallelToolCalls: Boolean? = null, previousResponseId: ResponseId? = null, reasoning: ResponseReasoning? = null, store: Boolean? = null, temperature: Double? = null, text: ResponseText? = null, toolChoice: JsonElement? = null, tools: List<ResponseTool>? = null, topP: Double? = null, truncation: String? = null, user: String? = null)
Properties
Link copied to clipboard
Text or structured input.
Link copied to clipboard
Optional instructions that prepended to model context.
Link copied to clipboard
Upper bound for generated output tokens.
Link copied to clipboard
Whether the model can execute multiple tool calls in parallel.
Link copied to clipboard
Continue from a previous response.
Link copied to clipboard
Reasoning configuration.
Link copied to clipboard
Sampling temperature.
Link copied to clipboard
Text output format configuration.
Link copied to clipboard
Tool choice strategy.
Link copied to clipboard
Tools available to the model.
Link copied to clipboard
Truncation strategy.