interface QnAKendraConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.QnAKendraConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_QnAKendraConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.QnAKendraConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.QnAKendraConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » QnAKendraConfigurationProperty |
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const qnAKendraConfigurationProperty: lex_mixins.CfnBotPropsMixin.QnAKendraConfigurationProperty = {
exactResponse: false,
kendraIndex: 'kendraIndex',
queryFilterString: 'queryFilterString',
queryFilterStringEnabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| exact | boolean | IResolvable | Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results. |
| kendra | string | The ARN of the Amazon Kendra index to use. |
| query | string | Contains the Amazon Kendra filter string to use if enabled. |
| query | boolean | IResolvable | Specifies whether to enable an Amazon Kendra filter string or not. |
exactResponse?
Type:
boolean | IResolvable
(optional)
Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results.
To use this feature, you must first add FAQ questions to your index by following the steps at Adding frequently asked questions (FAQs) to an index .
kendraIndex?
Type:
string
(optional)
The ARN of the Amazon Kendra index to use.
queryFilterString?
Type:
string
(optional)
Contains the Amazon Kendra filter string to use if enabled.
For more information on the Amazon Kendra search filter JSON format, see Using document attributes to filter search results .
queryFilterStringEnabled?
Type:
boolean | IResolvable
(optional)
Specifies whether to enable an Amazon Kendra filter string or not.

.NET
Go
Java
Python
TypeScript