OpenAIResponsesRequestDto

@Serializable
data class OpenAIResponsesRequestDto(val model: String, val input: OpenAIResponseInput, val instructions: String? = null, val maxOutputTokens: Int? = null, val maxToolCalls: Int? = null, val parallelToolCalls: Boolean? = null, val previousResponseId: String? = null, val metadata: OpenAIMetadata? = null, val background: Boolean = false, val reasoning: OpenAIReasoning? = null, val store: Boolean? = null, val temperature: Double? = null, val topP: Double? = null, val truncation: OpenAITruncation? = null, val text: OpenAIResponsesText? = null, val toolChoice: OpenAIToolChoice? = null, val serviceTier: OpenAIServiceTier? = null, val user: String? = null, val safetyIdentifier: String? = null, val promptCacheKey: String? = null, val tools: List<OpenAIResponsesToolDto> = emptyList())

Constructors

Link copied to clipboard
constructor(model: String, input: OpenAIResponseInput, instructions: String? = null, maxOutputTokens: Int? = null, maxToolCalls: Int? = null, parallelToolCalls: Boolean? = null, previousResponseId: String? = null, metadata: OpenAIMetadata? = null, background: Boolean = false, reasoning: OpenAIReasoning? = null, store: Boolean? = null, temperature: Double? = null, topP: Double? = null, truncation: OpenAITruncation? = null, text: OpenAIResponsesText? = null, toolChoice: OpenAIToolChoice? = null, serviceTier: OpenAIServiceTier? = null, user: String? = null, safetyIdentifier: String? = null, promptCacheKey: String? = null, tools: List<OpenAIResponsesToolDto> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "max_output_tokens")
val maxOutputTokens: Int?
Link copied to clipboard
@SerialName(value = "max_tool_calls")
val maxToolCalls: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "parallel_tool_calls")
val parallelToolCalls: Boolean?
Link copied to clipboard
@SerialName(value = "previous_response_id")
val previousResponseId: String?
Link copied to clipboard
@SerialName(value = "prompt_cache_key")
val promptCacheKey: String?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "safety_identifier")
val safetyIdentifier: String?
Link copied to clipboard
@SerialName(value = "service_tier")
val serviceTier: OpenAIServiceTier?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "tool_choice")
val toolChoice: OpenAIToolChoice?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "top_p")
val topP: Double?
Link copied to clipboard
Link copied to clipboard
val user: String?