atomic-generated-answer
atomic-generated-answer
This is for:
DeveloperThe atomic-generated-answer
component uses Coveo Machine Learning (Coveo ML) models to automatically generate an answer to a query executed by the user.
For more information, see About Relevance Generative Answering (RGA)
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
Whether to allow the answer to be collapsed when the text is taller than 250px. |
|
|
|
|
The tabs on which this generated answer must not be displayed. This property should not be used at the same time as Set this property as a stringified JSON array, e.g.,
If you don’t set this property, the generated answer can be displayed on any tab. Otherwise, the generated answer won’t be displayed on any of the specified tabs. |
|
|
|
|
The tabs on which the generated answer can be displayed. This property should not be used at the same time as Set this property as a stringified JSON array, e.g.,
If you don’t set this property, the generated answer can be displayed on any tab. Otherwise, the generated answer can only be displayed on the specified tabs. |
|
|
|
|
Whether to render a toggle button that lets the user hide or show the answer. |
|
|
Shadow Parts
Part | Description |
---|---|
|
The generated answer multi-line code blocks. |
|
The generated answer emphasized text elements. |
|
The generated answer level 1 heading elements. |
|
The generated answer level 2 heading elements. |
|
The generated answer level 3 heading elements. |
|
The generated answer level 4 heading elements. |
|
The generated answer level 5 heading elements. |
|
The generated answer level 6 heading elements. |
|
The generated answer inline code elements. |
|
The generated answer list item elements for both ordered and unordered lists. |
|
The generated answer ordered list elements. |
|
The generated answer paragraph elements. |
|
The generated answer quote block elements. |
|
The generated answer strong text elements. |
|
The generated answer table elements. |
|
The generated answer table container elements. |
|
The generated answer table content cell elements. |
|
The generated answer table header cell elements. |
|
The generated answer unordered list elements. |
|
The link that allows the user to navigate to the item. |
|
The pop-up that shows an item preview when the user hovers over the citation. |
|
The header of the citations list. |
|
The container displaying the generated answer. |
|
The "Copy answer" button. |
|
The "like" and "dislike" buttons. |
|
The text of the generated answer. |
|
The header of the generated answer container. |
|
The container for the "retry" section. |
|
The switch to toggle the visibility of the generated answer. |