Generable

@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.SOURCE)
public 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 fields

final @NonNull String

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

Public constructors

Generable(@NonNull String description)

Public fields

description

public final @NonNull String description

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

Public constructors

Generable

public Generable(@NonNull String description)