EditorAIPromptSettingsTagHelper
Example
Razor
<ai-prompt>
<ai-prompt-commands></ai-prompt-commands>
</ai-prompt>
ChildTags
| Tag Name | Details |
|---|---|
| ai-prompt-commands | EditorAISettingsCommandsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| enabled | Boolean | Enables or disables the configuration. |
| prompt-suggestions | ICollection<String> | The prompt suggestions that will be rendered for the inline AI tool. |
| system-prompt | String | Defines the system prompt for the AI tool. The function accepts the following arguments: context - The selected text in the editor. or prompt - The user prompt.. |