# Generable

# Generable


```
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.TYPEALIAS])
public 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 |
|---|
| `Generable(@NonNull String description)` |

| ### Public methods |
|---|---|
| `final @NonNull String` | `getDescription()` Description of the class used to be forwarded to the model. |

## Public constructors

### Generable

```
public Generable(@NonNull String description)
```

## Public methods

### getDescription

```
public final @NonNull String getDescription()
```

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