Class CfnBotPropsMixin.QnAKendraConfigurationProperty
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent .
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnBotPropsMixin.QnAKendraConfigurationProperty : CfnBotPropsMixin.IQnAKendraConfigurationProperty
Syntax (vb)
Public Class CfnBotPropsMixin.QnAKendraConfigurationProperty Implements CfnBotPropsMixin.IQnAKendraConfigurationProperty
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.Mixins.Preview.AWS.Lex.Mixins;
var qnAKendraConfigurationProperty = new QnAKendraConfigurationProperty {
ExactResponse = false,
KendraIndex = "kendraIndex",
QueryFilterString = "queryFilterString",
QueryFilterStringEnabled = false
};
Synopsis
Constructors
| QnAKendraConfigurationProperty() | Contains details about the configuration of the Amazon Kendra index used for the |
Properties
| ExactResponse | Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results. |
| KendraIndex | The ARN of the Amazon Kendra index to use. |
| QueryFilterString | Contains the Amazon Kendra filter string to use if enabled. |
| QueryFilterStringEnabled | Specifies whether to enable an Amazon Kendra filter string or not. |
Constructors
QnAKendraConfigurationProperty()
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent .
public QnAKendraConfigurationProperty()
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.Mixins.Preview.AWS.Lex.Mixins;
var qnAKendraConfigurationProperty = new QnAKendraConfigurationProperty {
ExactResponse = false,
KendraIndex = "kendraIndex",
QueryFilterString = "queryFilterString",
QueryFilterStringEnabled = false
};
Properties
ExactResponse
Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results.
public object? ExactResponse { get; set; }
Property Value
Remarks
To use this feature, you must first add FAQ questions to your index by following the steps at Adding frequently asked questions (FAQs) to an index .
Type union: either bool or IResolvable
KendraIndex
The ARN of the Amazon Kendra index to use.
public string? KendraIndex { get; set; }
Property Value
Remarks
QueryFilterString
Contains the Amazon Kendra filter string to use if enabled.
public string? QueryFilterString { get; set; }
Property Value
Remarks
For more information on the Amazon Kendra search filter JSON format, see Using document attributes to filter search results .
QueryFilterStringEnabled
Specifies whether to enable an Amazon Kendra filter string or not.
public object? QueryFilterStringEnabled { get; set; }