AddPromptOutput
methodsAdds a prompt output to the promptOutputs collection. If the active view is OutputView, calls the view's addPromptOutput method.
Parameters:promptOutputObject
The prompt output to add. The output should have the following properties:
output- The output content generated from the prompt.prompt- The prompt text used to generate this output.id- Optional - The id of the prompt output. If none is provided, the id will be generated as akendo.guid(). The ID is rendered as data-id attribute in the prompt output.isLoading- Optional - Whether the output is in loading state (shows skeleton). Default:falseisStreaming- Optional - Whether the output is being streamed. Default:falseisRetry- Optional - Whether this output is from a retry operation. Default:false