--- title: QuanticGeneratedAnswer slug: latest-search-generated-answer canonical_url: https://docs.coveo.com/en/quantic/latest/reference/search-components/search-generated-answer/ collection: quantic source_format: adoc --- # QuanticGeneratedAnswer > **Note** > > This component was introduced in version `2.27.3`. The `QuanticGeneratedAnswer` component automatically generates an answer using Coveo Machine Learning models to answer the query executed by the user. This component includes a slot, "no-answer-message", which allows for rendering a custom message when no answer is generated. ## Example ```html
No answer was generated.
``` ## Properties -- |=== | Property | Attribute | Description | Type | Default | `engineId` _(required)_ | `engine-id` a| The ID of the engine instance the component registers to. | `string` | | `fieldsToIncludeInCitations` | `fields-to-include-in-citations` a| A list of fields to fetch with the citations used to generate the answer. | `string` | `'sfid,sfkbid,sfkavid,filetype'` | `collapsible` | `collapsible` a| Whether the generated answer should be collapsible when it exceeds the maximum height of 250px. | `boolean` | `{false}` | `withToggle` | `with-toggle` a| Whether the generated answer can be toggled on or off. | `boolean` | `{false}` | `answerConfigurationId` | `answer-configuration-id` a| The unique identifier of the answer configuration to use to generate the answer. | `string` | `{undefined}` | `maxCollapsedHeight` | `max-collapsed-height` a| The maximum height (in px units) of the generated answer when it is collapsed. | `number` | `{250}` | `disableCitationAnchoring` | `disable-citation-anchoring` a| Whether to disable citation anchoring. | `boolean` | `false` |=== -- ## XML configuration file elements The following XML configuration file elements apply (see [XML Configuration File Elements](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_configuration_tags)). -- |=== | Metadata | Value | `apiVersion` | `57.0` | `isExposed` | `false` |=== --