---
title: "GenerationContentData"
---

Stored prompt and completion content


## Fields

| Field                                                                                  | Type                                                                                   | Required                                                                               | Description                                                                            |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `input`                                                                                | [components.InputUnion](../components/inputunion.mdx)                                   | :heavy_check_mark:                                                                     | The input to the generation — either a prompt string or an array of messages           |
| `output`                                                                               | [components.GenerationContentDataOutput](../components/generationcontentdataoutput.mdx) | :heavy_check_mark:                                                                     | The output from the generation                                                         |