PdfAiRequest

data class PdfAiRequest(val prompt: String, val images: List<ByteArray> = emptyList(), val schema: String? = null)

Constructors

Link copied to clipboard
constructor(prompt: String, images: List<ByteArray> = emptyList(), schema: String? = null)

Properties

Link copied to clipboard

Encoded images, for providers that accept them.

Link copied to clipboard
Link copied to clipboard
val schema: String? = null

JSON Schema for structured output, when the feature needs one.