interface BedrockKnowledgeStoreConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_BedrockKnowledgeStoreConfigurationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty |
Python | aws_cdk.aws_lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » BedrockKnowledgeStoreConfigurationProperty |
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 { aws_lex as lex } from 'aws-cdk-lib';
const bedrockKnowledgeStoreConfigurationProperty: lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty = {
bedrockKnowledgeBaseArn: 'bedrockKnowledgeBaseArn',
bkbExactResponseFields: {
answerField: 'answerField',
},
exactResponse: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| bedrock | string | The base ARN of the knowledge base used. |
| bkb | IResolvable | BKBExact | |
| exact | boolean | IResolvable | Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database. |
bedrockKnowledgeBaseArn?
Type:
string
(optional)
The base ARN of the knowledge base used.
bkbExactResponseFields?
Type:
IResolvable | BKBExact
(optional)
exactResponse?
Type:
boolean | IResolvable
(optional)
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.

.NET
Go
Java
Python
TypeScript