InlineAIPromptComponent
Represents the Kendo UI InlineAIPrompt component for Angular.
<kendo-inlineaiprompt
placeholder="Enter your prompt..."
[promptOutput]="promptOutput"
(promptRequest)="onPromptRequest($event)">
</kendo-inlineaiprompt>
Selector
kendo-inlineaiprompt
Export Name
Accessible in templates as #kendoInlineAIPromptInstance="kendoInlineAIPrompt"
Inputs
Name | Type | Default | Description |
---|---|---|---|
enableSpeechToText |
|
|
Controls the visibility and settings of the Speech to Text button. |
maxHeight |
|
Sets the maximum height of the component. Accepts a number for pixels or a string for other units. | |
outputActions |
|
|
Sets the output actions that display in the output card.
The default actions are |
placeholder |
|
Sets the placeholder text that appears in the text area when it is empty. | |
popupSettings |
|
Sets the Popup settings. | |
promptCommands |
|
Sets the available prompt commands. | |
promptOutput |
|
Sets the output data for the prompt. The output displays as a card above the text area. | |
promptValue |
|
|
Sets the TextArea value. |
streaming |
|
|
When set to |
width |
|
|
Sets the width of the component. Accepts a number for pixels or a string for other units. |
Fields
Name | Type | Default | Description |
---|---|---|---|
defaultOutputActions |
|
Represents the configuration of the default output actions.
The default actions are |
Events
Name | Type | Description |
---|---|---|
close |
|
Fires when the component closes (Escape key, Discard action or outside click). |
commandExecute |
|
Fires when a command is executed. |
outputActionClick |
|
Fires when an output action button is clicked. |
promptRequest |
|
Fires when the send button is clicked. |
promptRequestCancel |
|
Fires when the stop button is clicked during streaming. |
promptValueChange |
|
Fires when the TextArea value changes. |
Methods
focus |
---|
Focus the TextArea. |