# Generable

# 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 |
|---|
| `Generable(description: String)` |

| ### Public properties |
|---|---|
| `String` | `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.