Interface CfnBotPropsMixin.QnAKendraConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.QnAKendraConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.QnAKendraConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.lex.*;
QnAKendraConfigurationProperty qnAKendraConfigurationProperty = QnAKendraConfigurationProperty.builder()
.exactResponse(false)
.kendraIndex("kendraIndex")
.queryFilterString("queryFilterString")
.queryFilterStringEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.QnAKendraConfigurationPropertystatic final classAn implementation forCfnBotPropsMixin.QnAKendraConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies 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.default StringThe ARN of the Amazon Kendra index to use.default StringContains the Amazon Kendra filter string to use if enabled.default ObjectSpecifies whether to enable an Amazon Kendra filter string or not.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExactResponse
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 .
Returns union: either
BooleanorIResolvable- See Also:
-
getKendraIndex
The ARN of the Amazon Kendra index to use.- See Also:
-
getQueryFilterString
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 .
- See Also:
-
getQueryFilterStringEnabled
Specifies whether to enable an Amazon Kendra filter string or not.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-