/AWS1/CL_QQAQQUERYCARDINPUT¶
The input shape for defining a query card in an Amazon Q App.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_title TYPE /AWS1/QQATITLE /AWS1/QQATITLE¶
The title or label of the query card.
iv_id TYPE /AWS1/QQAUUID /AWS1/QQAUUID¶
The unique identifier of the query card.
iv_type TYPE /AWS1/QQACARDTYPE /AWS1/QQACARDTYPE¶
The type of the card.
iv_prompt TYPE /AWS1/QQAPROMPT /AWS1/QQAPROMPT¶
The prompt or instructions displayed for the query card.
Optional arguments:¶
iv_outputsource TYPE /AWS1/QQACARDOUTPUTSOURCE /AWS1/QQACARDOUTPUTSOURCE¶
The source or type of output to generate for the query card.
io_attributefilter TYPE REF TO /AWS1/CL_QQAATTRIBUTEFILTER /AWS1/CL_QQAATTRIBUTEFILTER¶
Turns on filtering of responses based on document attributes or metadata fields.
Queryable Attributes¶
title¶
The title or label of the query card.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TITLE() |
Getter for TITLE, with configurable default |
ASK_TITLE() |
Getter for TITLE w/ exceptions if field has no value |
HAS_TITLE() |
Determine if TITLE has a value |
id¶
The unique identifier of the query card.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ID() |
Getter for ID, with configurable default |
ASK_ID() |
Getter for ID w/ exceptions if field has no value |
HAS_ID() |
Determine if ID has a value |
type¶
The type of the card.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
prompt¶
The prompt or instructions displayed for the query card.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PROMPT() |
Getter for PROMPT, with configurable default |
ASK_PROMPT() |
Getter for PROMPT w/ exceptions if field has no value |
HAS_PROMPT() |
Determine if PROMPT has a value |
outputSource¶
The source or type of output to generate for the query card.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OUTPUTSOURCE() |
Getter for OUTPUTSOURCE, with configurable default |
ASK_OUTPUTSOURCE() |
Getter for OUTPUTSOURCE w/ exceptions if field has no value |
HAS_OUTPUTSOURCE() |
Determine if OUTPUTSOURCE has a value |
attributeFilter¶
Turns on filtering of responses based on document attributes or metadata fields.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTRIBUTEFILTER() |
Getter for ATTRIBUTEFILTER |