-
Notifications
You must be signed in to change notification settings - Fork 81
Aiprompt docs update #3163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Aiprompt docs update #3163
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
d55a2fe
docs(AIPrompt): update docs
Tsvetomir-Hr f610abe
chore: add rendering and breaking changes articles for version 10.0.0
Tsvetomir-Hr f911dd7
chore: polish aiprompt docs
Tsvetomir-Hr becf2a4
chore: apply review changes and add omitted event
Tsvetomir-Hr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: 10.0.0 | ||
description: Handle the changes in the 10.0.0 release of the Telerik UI for Blazor components. | ||
page_title: Breaking Changes in 10.0.0 | ||
slug: changes-in-10-0-0 | ||
position: 955 | ||
--- | ||
|
||
# Breaking Changes in 10.0.0 | ||
|
||
## AIPrompt | ||
|
||
The `OnOutputRate` event and the `ShowOutputRating` parameter are removed in version 10.0.0. To implement output rating or similar actions, use an output action and handle it through the [`OnOutputActionClick` event](slug:aiprompt-events#onoutputactionclick). | ||
|
||
The **Retry** and **Copy** actions remain built-in, but you now need to define them as part of the `OutputActions` collection. For details on how to use output actions and handle user interaction, see the [OutputActionClick event example](slug:aiprompt-events#onoutputactionclick), which demonstrates how to configure the `OutputActions` collection, including the built-in **Copy** and **Retry** actions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: 10.0.0 | ||
description: Handle the rendering changes in the 10.0.0 release of the Telerik UI for Blazor components. | ||
page_title: Rendering Changes in the 10.0.0 Release | ||
slug: rendering-changes-in-10-0-0 | ||
position: 965 | ||
--- | ||
|
||
# Rendering Changes in 10.0.0 | ||
|
||
## AIPrompt | ||
|
||
The AIPrompt component now renders suggestion items using a new markup structure: | ||
|
||
* The `k-prompt-suggestion` element is replaced by `k-suggestion`. | ||
* The `k-suggestion-group` element wraps all `k-suggestion` elements. | ||
|
||
## See Also | ||
|
||
* [Use best practices when overriding theme styles](slug:themes-override#best-practices) | ||
* [Breaking changes in Telerik UI for Blazor 10.0.0](slug:changes-in-10-0-0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.