ClassifierContent

Text or structured data that a Classifier reads, as the input or as a question's instructions or criteria: plain Text, or a JsonObject or JsonArray. It mirrors Python ADK's JSONContent.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

A JSON array. Creating one throws IllegalArgumentException under the same conditions as JsonObject.

Link copied to clipboard

A JSON object. Creating one throws IllegalArgumentException if json nests more than 200 levels deep or holds a non-finite number, an integer beyond a Long, or a literal that is not JSON.

Link copied to clipboard

Plain text.