GroundingChunkCustomMetadata

@Serializable
data class GroundingChunkCustomMetadata(val key: String? = null, val numericValue: Double? = null, val stringListValue: GroundingChunkStringList? = null, val stringValue: String? = null)

User provided metadata about the GroundingFact. This data type is not supported in Vertex AI.

Constructors

Link copied to clipboard
constructor(key: String? = null, numericValue: Double? = null, stringListValue: GroundingChunkStringList? = null, stringValue: String? = null)

Properties

Link copied to clipboard
val key: String? = null

The key of the metadata.

Link copied to clipboard
val numericValue: Double? = null

Optional. The numeric value of the metadata. The expected range for this value depends on the specific key used.

Link copied to clipboard

Optional. A list of string values for the metadata.

Link copied to clipboard
val stringValue: String? = null

Optional. The string value of the metadata.