Interface CfnBotPropsMixin.IDataSourceConfigurationProperty
Contains details about the configuration of the knowledge store used for the AMAZON.QnAIntent . You must have already created the knowledge store and indexed the documents within it.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Lex
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnBotPropsMixin.IDataSourceConfigurationProperty
Syntax (vb)
Public Interface CfnBotPropsMixin.IDataSourceConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Lex;
var dataSourceConfigurationProperty = new DataSourceConfigurationProperty {
BedrockKnowledgeStoreConfiguration = new BedrockKnowledgeStoreConfigurationProperty {
BedrockKnowledgeBaseArn = "bedrockKnowledgeBaseArn",
BkbExactResponseFields = new BKBExactResponseFieldsProperty {
AnswerField = "answerField"
},
ExactResponse = false
},
KendraConfiguration = new QnAKendraConfigurationProperty {
ExactResponse = false,
KendraIndex = "kendraIndex",
QueryFilterString = "queryFilterString",
QueryFilterStringEnabled = false
},
OpensearchConfiguration = new OpensearchConfigurationProperty {
DomainEndpoint = "domainEndpoint",
ExactResponse = false,
ExactResponseFields = new ExactResponseFieldsProperty {
AnswerField = "answerField",
QuestionField = "questionField"
},
IncludeFields = new [] { "includeFields" },
IndexName = "indexName"
}
};
Synopsis
Properties
| BedrockKnowledgeStoreConfiguration | Contains details about the configuration of the Amazon Bedrock knowledge base used for the |
| KendraConfiguration | Contains details about the configuration of the Amazon Kendra index used for the |
| OpensearchConfiguration | Contains details about the configuration of the Amazon OpenSearch Service database used for the |
Properties
BedrockKnowledgeStoreConfiguration
Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent . To set up a knowledge base, follow the steps at Building a knowledge base .
object? BedrockKnowledgeStoreConfiguration { get; }
Property Value
Remarks
KendraConfiguration
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent . To create a Amazon Kendra index, follow the steps at Creating an index .
object? KendraConfiguration { get; }
Property Value
Remarks
OpensearchConfiguration
Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent . To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains .
object? OpensearchConfiguration { get; }