QnAIntentConfigurationProperty Struct
Details about the the configuration of the built-in Amazon.QnAIntent .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const qnAIntentConfigurationProperty: lex.CfnBot.QnAIntentConfigurationProperty = {
bedrockModelConfiguration: {
modelArn: 'modelArn',
// the properties below are optional
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
},
dataSourceConfiguration: {
bedrockKnowledgeStoreConfiguration: {
bedrockKnowledgeBaseArn: 'bedrockKnowledgeBaseArn',
bkbExactResponseFields: {
answerField: 'answerField',
},
exactResponse: false,
},
kendraConfiguration: {
exactResponse: false,
kendraIndex: 'kendraIndex',
queryFilterStringEnabled: false,
// the properties below are optional
queryFilterString: 'queryFilterString',
},
opensearchConfiguration: {
domainEndpoint: 'domainEndpoint',
exactResponse: false,
exactResponseFields: {
answerField: 'answerField',
questionField: 'questionField',
},
includeFields: ['includeFields'],
indexName: 'indexName',
},
},
};
Properties
bedrockModelConfigurationIResolvable | CfnBot.BedrockModelSpecificationPropertybedrock_model_configurationtyping.Union[IResolvable, BedrockModelSpecificationProperty]bedrockModelConfigurationIResolvableBedrockModelConfigurationIResolvableBedrockModelConfigurationinterface{}required#dataSourceConfigurationIResolvable | CfnBot.DataSourceConfigurationPropertydata_source_configurationtyping.Union[IResolvable, DataSourceConfigurationProperty]dataSourceConfigurationIResolvableDataSourceConfigurationIResolvableDataSourceConfigurationinterface{}required#Contains details about the configuration of the data source used for the `AMAZON.QnAIntent` .