---
title: QuanticDocumentSuggestion
slug: latest-case-assist-document-suggestion
canonical_url: https://docs.coveo.com/en/quantic/latest/reference/case-assist-components/case-assist-document-suggestion/
collection: quantic
source_format: adoc
---
# QuanticDocumentSuggestion
> **Note**
>
> This component was introduced in version `1.10.1`.
The `QuanticDocumentSuggestion` component displays an accordion containing the document suggestions returned by Coveo Case Assist based on the values that the user has previously entered in the different fields.
## Example
```html
```
## Properties
--
|===
| Property | Attribute | Description | Type | Default
| `engineId` _(required)_
| `engine-id`
a| The ID of the case assist engine instance the component registers to.
| `string`
|
| `withoutQuickview`
| `without-quickview`
a| Whether or not we want to hide the quick view for the document suggestions.
| `boolean`
| `false`
| `fetchOnInit`
| `fetch-on-init`
a| Whether or not we want to fetch suggestions when initializing this component.
| `boolean`
| `false`
| `maxDocuments`
| `max-documents`
a| The maximum number of document suggestions to display.
| `number`
| `3`
| `numberOfAutoOpenedDocuments`
| `number-of-auto-opened-documents`
a| The number of automatically opened document suggestions when fetching suggestions..
| `number`
| `1`
|===
--
## 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` | `53.0`
| `isExposed` | `false`
|===
--
## Slots
The QuanticDocumentSuggestion component defines [slots](https://developer.salesforce.com/docs/platform/lwc/guide/create-components-slots.html) to ease the implementation of your Document Suggestion interface.
**Example**
The following sample is taken from the [Quantic Case Assist Cookbook](https://github.com/coveooss/sf-case-assist-cookbook/blob/0f49184263c8ee38838987b3588227053c54163d/src/main/default/lwc/reviewResourcesScreen/reviewResourcesScreen.html).
```html
```
### `rating`
The markup displayed at the top of each document suggestion, which lets you display the rating score of each document.

### `actions`
The markup displayed at the lower right of each document suggestion, which lets end users perform certain actions, such as rating the document.

### `quickview-footer`
The markup displayed in the footer of the [quickview](https://docs.coveo.com/en/3311/) of each document suggestion.

### `no-suggestions`
The markup displayed instead of document suggestions when your {machine-learning-model} doesn't return suggestions.
