interface QnAIntentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.QnAIntentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_QnAIntentConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.QnAIntentConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.QnAIntentConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » QnAIntentConfigurationProperty |
Details about the the configuration of the built-in 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 qnAIntentConfigurationProperty: lex_mixins.CfnBotPropsMixin.QnAIntentConfigurationProperty = {
bedrockModelConfiguration: {
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
modelArn: 'modelArn',
},
dataSourceConfiguration: {
bedrockKnowledgeStoreConfiguration: {
bedrockKnowledgeBaseArn: 'bedrockKnowledgeBaseArn',
bkbExactResponseFields: {
answerField: 'answerField',
},
exactResponse: false,
},
kendraConfiguration: {
exactResponse: false,
kendraIndex: 'kendraIndex',
queryFilterString: 'queryFilterString',
queryFilterStringEnabled: false,
},
opensearchConfiguration: {
domainEndpoint: 'domainEndpoint',
exactResponse: false,
exactResponseFields: {
answerField: 'answerField',
questionField: 'questionField',
},
includeFields: ['includeFields'],
indexName: 'indexName',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| bedrock | IResolvable | Bedrock | |
| data | IResolvable | Data | Contains details about the configuration of the data source used for the AMAZON.QnAIntent . |
bedrockModelConfiguration?
Type:
IResolvable | Bedrock
(optional)
dataSourceConfiguration?
Type:
IResolvable | Data
(optional)
Contains details about the configuration of the data source used for the AMAZON.QnAIntent .

.NET
Go
Java
Python
TypeScript