Generable

@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.SOURCE)
annotation Generable


This annotation is used with the firebase-ai-ksp-processor plugin to generate JsonSchema that match an existing Kotlin class structure. For more info see: Firebase KSP Processor Readme

Summary

Public constructors

Generable(description: String)

Public properties

String

a description of the class to be forwarded to the model.

Public constructors

Generable

Generable(description: String = "")

Public properties

description

val descriptionString

a description of the class to be forwarded to the model. This will override a kDoc description.