Closes the modal to provide feedback about why the generated answer was not relevant.
Collapses the generated answer.
Disables the generated answer.
Marks the generated answer as not relevant to the end user.
Marks the generated answer as not relevant to the end user.
Answer Id of the disliked answer.
Enables the generated answer.
Expands the generated answer.
Hides the generated answer.
Indicates that the generated answer met the user expectations.
Indicates that the generated answer met the user expectations.
Answer Id of the liked answer.
Logs a custom event indicating a cited source link was clicked.
The ID of the clicked citation.
Logs a custom event indicating a cited source link was clicked.
The ID of the clicked citation.
Answer Id of the clicked citation's 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.
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.
Answer Id of the hovered citation's answer.
Logs a custom event indicating the generated answer was copied to the clipboard.
Logs a custom event indicating the generated answer was copied to the clipboard.
Answer Id of the copied 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.