New to Kendo UI for Angular? Start a free 30-day trial
AIPromptOutputBodyTemplateDirective
Updated on Jul 25, 2025
Represents the template for the body of the response in the AIPrompt component. The template context is set to the current output object.
html
<kendo-aiprompt>
<ng-template kendoAIPromptOutputBodyTemplate let-output>
<div>{{output.prompt}}</div>
</ng-template>
</kendo-aiprompt>
Selector
[kendoAIPromptOutputBodyTemplate]