InputTextPart

@Serializable
class InputTextPart(val text: String) : TextContentPart

Text sent to the model, as input_text.

Constructors

Link copied to clipboard
constructor(text: String)

Properties

Link copied to clipboard
open override val text: String

The text itself.

Link copied to clipboard
open override val type: String

Raw type discriminator of the part.

Functions

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