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: https://github.com/firebase/firebase-android-sdk/blob/main/firebase-ai-ksp-processor/README.md

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.