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

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)