Description

@SerialInfo
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Description(val value: String)

Describes a property to the model: of the input class of a Tool, or of the class a model is asked for with ask.

@Serializable
data class Forecast(@Description("The city, for example \"Madrid\"") val city: String)

Properties

Link copied to clipboard