Interface CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about the configuration of a Amazon Bedrock knowledge base.
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.*;
BedrockKnowledgeStoreConfigurationProperty bedrockKnowledgeStoreConfigurationProperty = BedrockKnowledgeStoreConfigurationProperty.builder()
.bedrockKnowledgeBaseArn("bedrockKnowledgeBaseArn")
.bkbExactResponseFields(BKBExactResponseFieldsProperty.builder()
.answerField("answerField")
.build())
.exactResponse(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe base ARN of the knowledge base used.default ObjectReturns union: eitherIResolvableorCfnBotPropsMixin.BKBExactResponseFieldsPropertydefault ObjectSpecifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBedrockKnowledgeBaseArn
The base ARN of the knowledge base used.- See Also:
-
getBkbExactResponseFields
Returns union: eitherIResolvableorCfnBotPropsMixin.BKBExactResponseFieldsProperty- See Also:
-
getExactResponse
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.Returns union: either
BooleanorIResolvable- See Also:
-
builder
@Stability(Stable) static CfnBotPropsMixin.BedrockKnowledgeStoreConfigurationProperty.Builder builder()
-