PromptModel
12 Sep 20251 minute to read
Interface for a class Prompt
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.
isResponseHelpful boolean
Indicates if the response is considered helpful.
Represents the state of whether the generated response is useful or not.
prompt string
Specifies the prompt text.
Represents the text used for prompting user input.
response string
Specifies the response associated with the prompt.
Represents the text that provides the response to the prompt.