The prompts property maps the list of the prompts and binds the data to the suggestions.
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
boolean
Indicates if the response is considered helpful. Represents the state of whether the generated response is useful or not.
Defaults to null
string
Specifies the prompt text. Represents the text used for prompting user input.
Defaults to null
string
Specifies the response associated with the prompt. Represents the text that provides the response to the prompt.
Defaults to ”