Skip to content

/AWS1/CL_LM2KENDRACONF

Provides configuration information for the AMAZON.KendraSearchIntent intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_kendraindex TYPE /AWS1/LM2KENDRAINDEXARN /AWS1/LM2KENDRAINDEXARN

The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot.

Optional arguments:

iv_queryfilterstringenabled TYPE /AWS1/LM2BOOLEAN /AWS1/LM2BOOLEAN

Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.

iv_queryfilterstring TYPE /AWS1/LM2QUERYFILTERSTRING /AWS1/LM2QUERYFILTERSTRING

A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.


Queryable Attributes

kendraIndex

The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot.

Accessible with the following methods

Method Description
GET_KENDRAINDEX() Getter for KENDRAINDEX, with configurable default
ASK_KENDRAINDEX() Getter for KENDRAINDEX w/ exceptions if field has no value
HAS_KENDRAINDEX() Determine if KENDRAINDEX has a value

queryFilterStringEnabled

Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.

Accessible with the following methods

Method Description
GET_QUERYFILTERSTRINGENABLED() Getter for QUERYFILTERSTRINGENABLED

queryFilterString

A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.

Accessible with the following methods

Method Description
GET_QUERYFILTERSTRING() Getter for QUERYFILTERSTRING, with configurable default
ASK_QUERYFILTERSTRING() Getter for QUERYFILTERSTRING w/ exceptions if field has no v
HAS_QUERYFILTERSTRING() Determine if QUERYFILTERSTRING has a value