InlineAIPromptEventBuilder
Methods
PromptRequest(System.String)
Triggered before a request has been initiated to the specified service.
For more information see PromptRequest event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the promptRequest event.
PromptResponse(System.String)
Triggered once a response has been sent back from the specified service.
For more information see PromptResponse event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the promptResponse event.
PromptRequestCancel(System.String)
Triggered when a prompt request is cancelled, typically by clicking the stop generation button during streaming operations.
For more information see PromptRequestCancel event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the promptRequestCancel event.
CommandExecute(System.String)
Triggered once a command is selected.
For more information see CommandExecute event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the commandExecute event.
OutputAction(System.String)
This event will be fired with the button options that will be received, after the command has finished. Currently, these would be the Copy, Retry, and Discard options.
For more information see OutputAction event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the outputAction event.
Show(System.String)
Triggered once the component has been opened programmatically.
For more information see Show event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the show event.
Hide(System.String)
Triggered once the component has been closed programmatically.
For more information see Hide event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the hide event.