内容输入(Input)

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

现在轮到发送了。

Link copied to clipboard

是否还会继续出现相同的情况(即相同的输入或操作)?在这种情况下,模型会选择等待而不是立即作出响应;对于函数类型的响应来说,这种行为是不被允许的。