---
title: "Guide(description:_:)"
framework: foundationmodels
role: symbol
role_heading: Macro
path: "foundationmodels/guide(description:_:)"
---

# Guide(description:_:)

Allows for influencing the allowed values of properties of a generable type.

## Declaration

```swift
@attached(peer) macro Guide<RegexOutput>(description: String? = nil, _ guides: Regex<RegexOutput>)
```

## See Also

### Creating a guide

- [Guide(description:)](foundationmodels/guide(description:).md)
- [GenerationGuide](foundationmodels/generationguide.md)
