# Generable


```
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.TYPEALIAS])
annotation Generable
```

<br />

*** ** * ** ***

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 |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/annotations/Generable#Generable(kotlin.String)(description: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/schema/annotations/Generable#description()` Description of the class used to be forwarded to the model. |

## Public constructors

### Generable

```
Generable(description: String = "")
```

## Public properties

### description

```
val description: String
```

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