ContentInput

data class ContentInput @JvmOverloads constructor(val content: Content, val partial: Boolean = false) : LiveInput

A user turn, or the function responses that answer the model's calls.

The constructor throws IllegalArgumentException unless content has at least one part, carries no function calls, and holds either only function responses or none of them.

Constructors

Link copied to clipboard
constructor(content: Content, partial: Boolean = false)

Properties

Link copied to clipboard

The turn to send.

Link copied to clipboard

Whether more of the same turn follows, so the model waits instead of answering; not allowed with function responses.