QuanticGeneratedAnswer

The QuanticGeneratedAnswer component automatically generates an answer using Coveo machine learning models to answer the query executed by the user.

Example

<c-quantic-generated-answer engine-id={engineId} answer-style="step" with-toggle collapsible></c-quantic-generated-answer>

Properties

Property Attribute Description Type Default

engineId (required)

engine-id

The ID of the engine instance the component registers to.

string

answerStyle

answer-style

The answer style to apply when the component first loads. Options:

  • default: Generates the answer without additional formatting instructions.

  • bullet: Requests the answer to be generated in bullet-points.

  • step: Requests the answer to be generated in step-by-step instructions.

  • concise: Requests the answer to be generated as concisely as possible.

'default', 'step', 'bullet', 'concise'

{'default'}

fieldsToIncludeInCitations

fields-to-include-in-citations

A list of fields to fetch with the citations used to generate the answer.

string

'sfid,sfkbid,sfkavid'

multilineFooter

multiline-footer

Indicates whether footer sections should be displayed on multiple lines.

boolean

{false}

collapsible

collapsible

Whether the generated answer should be collapsible when it exceeds the maximum height of 250px.

boolean

{false}

withToggle

with-toggle

Whether the generated answer can be toggled on or off.

boolean

{false}

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

57.0

isExposed

false