Candidate
A response candidate generated from the model.
Properties
Functions
Link copied to clipboard
Output only.
Link copied to clipboard
Instantiates a builder for Candidate.
Link copied to clipboard
Source attribution of the generated content.
Link copied to clipboard
Describes the reason the model stopped generating tokens.
Link copied to clipboard
The reason why the model stopped generating tokens.
Link copied to clipboard
@InternalApi()
Deserializes a JsonNode to an object of the given type.
Link copied to clipboard
@InternalApi()
Deserializes a Json string to an object of the given type.
Link copied to clipboard
Output only.
Link copied to clipboard
Output only.
Link copied to clipboard
Link copied to clipboard
Output only.
Link copied to clipboard
Overrides the default maximum JSON string length (20MB) for the JSON parser.
Link copied to clipboard
Converts a Json string to a JsonNode.
Link copied to clipboard
Creates a builder with the same values as this instance.
Link copied to clipboard
Serializes an object to a JsonNode.
Link copied to clipboard
Serializes an object to a Json string.
Link copied to clipboard
Number of tokens for this candidate.
Link copied to clipboard
Output only.