New to KendoReact? Start a free 30-day trial

AIPromptView

Component

The props of the AIPromptCommandsView component.

Definition

Package:@progress/kendo-react-conversational-ui

Properties Interface:AIPromptViewProps

Properties

enableSpeechToText?

boolean | SpeechToTextButtonProps

Show speech to text button in input. When true, shows the button with default settings. When an object is provided, passes those props directly to the SpeechToTextButton component.

Default:

false

generateButton?

CustomComponent​<ButtonProps>

Accepts a custom component that can be used to render the generate button. See example here.

promptInput?

CustomComponent​<TextAreaProps>

Accepts a custom component that can be used to render the prompt input. See example here.

The suggestions that will be displayed in the prompt view. See example here.

The value of the prompt input.