Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html

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 AMAZON.QnAIntent . To set up a knowledge base, follow the steps at Building a knowledge base .

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 .

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 .

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html#cfn-lex-bot-datasourceconfiguration-bedrockknowledgestoreconfiguration

Type union: either IResolvable or CfnBotPropsMixin.IBedrockKnowledgeStoreConfigurationProperty

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html#cfn-lex-bot-datasourceconfiguration-kendraconfiguration

Type union: either IResolvable or CfnBotPropsMixin.IQnAKendraConfigurationProperty

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; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-datasourceconfiguration.html#cfn-lex-bot-datasourceconfiguration-opensearchconfiguration

Type union: either IResolvable or CfnBotPropsMixin.IOpensearchConfigurationProperty

Back to top Generated by DocFX