Generable

@Target(allowedTargets = [AnnotationTarget.CLASSAnnotationTarget.TYPEALIAS])
annotation Generable


Annotates a class to indicate that a class can be used as an output class for generating content.

This is an experimental feature.

The class and its fields will be used to generate a schema that will be used for guiding the model to generate structured output.

Summary

Public constructors

Generable(description: String)

Public properties

String

Description of the class used to be forwarded to the model.

Public constructors

Generable

Generable(description: String = "")

Public properties

description

val descriptionString

Description of the class used to be forwarded to the model.