ResponsePromptCacheOptions

@Serializable
data class ResponsePromptCacheOptions(val mode: String? = null, val ttl: String? = null, val prewarm: Boolean? = null, val comparisonResponseId: String? = null)

Prompt cache configuration.

Constructors

Link copied to clipboard
constructor(mode: String? = null, ttl: String? = null, prewarm: Boolean? = null, comparisonResponseId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "comparison_response_id")
val comparisonResponseId: String? = null

Response used for cache diagnostics.

Link copied to clipboard
@SerialName(value = "mode")
val mode: String? = null

Implicit or explicit caching.

Link copied to clipboard
@SerialName(value = "prewarm")
val prewarm: Boolean? = null

Prewarm the reusable prefix.

Link copied to clipboard
@SerialName(value = "ttl")
val ttl: String? = null

Minimum cache lifetime.