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 |
---|---|---|---|---|
|
|
The answer style to apply when the component first loads.
Options:
- |
|
|
|
|
Whether to allow the answer to be collapsed when the text is taller than 250px. |
|
|
|
|
Whether to render the rephrase buttons that lets the user rephrase the answer. |
|
|
|
|
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 button for each of the rephrase options (step-by-step instructions, bulleted list, and summary). |
|
The label of the rephrase button. |
|
The container of the rephrase buttons section. |
|
The container of the rephrase buttons. |
|
The header of the rephrase options. |
|
The container for the "retry" section. |
|
The switch to toggle the visibility of the generated answer. |