AgentDocument

data class AgentDocument(val mimeType: String, val data: ByteArray, val filename: String? = null)

Represents a document for Agent API operations. Provides convenient constructors for common document sources.

Constructors

Link copied to clipboard
constructor(mimeType: String, data: ByteArray, filename: String? = null)

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int