Prompt

12 Sep 20251 minute to read

The prompts property maps the list of the prompts and binds the data to the suggestions.

Properties

attachedFiles FileInfo[]

Specifies the list of files attached within the AI assist view.
This property accepts an array of FileInfo objects that represent the files to be attached.
By providing these files, they will be rendered during the initial rendering of the component.

Defaults to null

isResponseHelpful boolean

Indicates if the response is considered helpful.
Represents the state of whether the generated response is useful or not.

Defaults to null

prompt string

Specifies the prompt text.
Represents the text used for prompting user input.

Defaults to null

response string

Specifies the response associated with the prompt.
Represents the text that provides the response to the prompt.

Defaults to ’’