Interface CfnBotPropsMixin.QnAIntentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.QnAIntentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.QnAIntentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.lex.*;
QnAIntentConfigurationProperty qnAIntentConfigurationProperty = QnAIntentConfigurationProperty.builder()
.bedrockModelConfiguration(BedrockModelSpecificationProperty.builder()
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.modelArn("modelArn")
.build())
.dataSourceConfiguration(DataSourceConfigurationProperty.builder()
.bedrockKnowledgeStoreConfiguration(BedrockKnowledgeStoreConfigurationProperty.builder()
.bedrockKnowledgeBaseArn("bedrockKnowledgeBaseArn")
.bkbExactResponseFields(BKBExactResponseFieldsProperty.builder()
.answerField("answerField")
.build())
.exactResponse(false)
.build())
.kendraConfiguration(QnAKendraConfigurationProperty.builder()
.exactResponse(false)
.kendraIndex("kendraIndex")
.queryFilterString("queryFilterString")
.queryFilterStringEnabled(false)
.build())
.opensearchConfiguration(OpensearchConfigurationProperty.builder()
.domainEndpoint("domainEndpoint")
.exactResponse(false)
.exactResponseFields(ExactResponseFieldsProperty.builder()
.answerField("answerField")
.questionField("questionField")
.build())
.includeFields(List.of("includeFields"))
.indexName("indexName")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.QnAIntentConfigurationPropertystatic final classAn implementation forCfnBotPropsMixin.QnAIntentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.BedrockModelSpecificationPropertydefault ObjectContains details about the configuration of the data source used for theAMAZON.QnAIntent.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBedrockModelConfiguration
Returns union: eitherIResolvableorCfnBotPropsMixin.BedrockModelSpecificationProperty- See Also:
-
getDataSourceConfiguration
Contains details about the configuration of the data source used for theAMAZON.QnAIntent.Returns union: either
IResolvableorCfnBotPropsMixin.DataSourceConfigurationProperty- See Also:
-
builder
-