Interface CfnBot.BedrockKnowledgeStoreConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.BedrockKnowledgeStoreConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.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.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 classA builder forCfnBot.BedrockKnowledgeStoreConfigurationPropertystatic final classAn implementation forCfnBot.BedrockKnowledgeStoreConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe base ARN of the knowledge base used.default ObjectContains the names of the fields used for an exact response to the user.default 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
Contains the names of the fields used for an exact response to the user.- 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.- See Also:
-
builder
-