New to Kendo UI for jQueryStart a free 30-day trial

Updates the content of a specific prompt output or the most recent output. This method is typically used during streaming operations to update content in real-time.

Parameters:contentString

The new content to display.

<div id="aiprompt"></div>
<script>
var aiprompt = $("#aiprompt").kendoAIPrompt().data("kendoAIPrompt");

// Update most recent output
aiprompt.updatePromptOutputContent("Updated content");

// Update specific output by ID
aiprompt.updatePromptOutputContent("Updated content", "output-id-123");
</script>
Not finding the help you need?
Contact Support