---
title: promptRepresentation
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/promptrepresentable/promptrepresentation
---

# promptRepresentation

An instance that represents a prompt.

## Declaration

```swift
@PromptBuilder var promptRepresentation: Prompt { get }
```
