Asks a follow-up question.
The follow-up question to ask.
Closes the modal to provide feedback about why the generated answer was not relevant.
Collapses the generated answer.
Disables the generated answer.
Marks the answer as disliked.
OptionalanswerId: stringOptional ID of the answer to dislike. Defaults to the first answer.
Enables the generated answer.
Expands the generated answer.
Hides the generated answer.
Marks the answer as liked.
OptionalanswerId: stringOptional ID of the answer to like. Defaults to the first answer.
Logs a click on a cited source link for analytics.
The ID of the clicked citation.
OptionalanswerId: stringOptional ID of the answer for which the citation was clicked. Defaults to the first answer.
Logs a custom event indicating a cited source link was hovered.
The ID of the hovered citation.
The number of milliseconds spent hovering over the citation.
OptionalanswerId: stringOptional ID of the answer for which the citation was hovered. Defaults to the first answer.
Logs a copy-to-clipboard interaction for analytics.
OptionalanswerId: stringOptional ID of the copied answer. Defaults to the first answer.
Opens the modal to provide feedback about why the generated answer was not relevant.
Re-executes the last query to generate an answer.
Sends feedback about why the generated answer was not relevant.
The feedback that the end user wishes to send.
Displays the generated answer.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
The
GeneratedAnswercontroller uses Coveo Machine Learning (Coveo ML) models to automatically generate an answer to a query executed by the user.