# AIPrompt Output View

The Output view shows the responses generated by the underlying AI service. Each response renders in its dedicated output card and provides two options to the user—to copy the content of the response or to retry the request. The Output view is activated through interaction—once the user fills out a prompt within the Prompt view and requests a response, the Output view will become active.

If `OutputActions` are configured at the component level, the output card also features two additional options to upvote and downvote the response. To handle this interaction, you can use the `OnOutputActionClick` event. For more information on how to handle the event, refer to the [AIPrompt events](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/events) article.

By default, the Output view is rendered and is part of the predefined views. However, if you provide a render fragment of type `AIPromptViews` to the `TelerikAIPrompt` tag, you override the default rendering, meaning you must explicitly add `AIPromptOutputView` tag within it.

> caption Use `ButtonText` and `ButtonIcon` to customize the view button

<demo metaUrl="client/aiprompt/views/output/view-button-2/" height="420"></demo>

> caption Use `OutputActions` to add upvote and downvote buttons to an output

<demo metaUrl="client/aiprompt/views/output/outputactions-1/" height="420"></demo>

## See Also

* [Live Demo: AIPrompt](https://demos.telerik.com/blazor-ui/aiprompt/overview)
* [Views Overview](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/views/overview)
* [Prompt View](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/views/prompt)
* [Commands View](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/views/commands)
* [Views Templates](https://www.telerik.com/blazor-ui/documentation/components/aiprompt/views/templates)
