Interface QnAKendraConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QnAKendraConfiguration.Builder,
,QnAKendraConfiguration> SdkBuilder<QnAKendraConfiguration.Builder,
,QnAKendraConfiguration> SdkPojo
- Enclosing class:
QnAKendraConfiguration
public static interface QnAKendraConfiguration.Builder
extends SdkPojo, CopyableBuilder<QnAKendraConfiguration.Builder,QnAKendraConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionexactResponse
(Boolean 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
(String kendraIndex) The ARN of the Amazon Kendra index to use.queryFilterString
(String queryFilterString) Contains the Amazon Kendra filter string to use if enabled.queryFilterStringEnabled
(Boolean queryFilterStringEnabled) Specifies whether to enable an Amazon Kendra filter string or not.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
kendraIndex
The ARN of the Amazon Kendra index to use.
- Parameters:
kendraIndex
- The ARN of the Amazon Kendra index to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryFilterStringEnabled
Specifies whether to enable an Amazon Kendra filter string or not.
- Parameters:
queryFilterStringEnabled
- Specifies whether to enable an Amazon Kendra filter string or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryFilterString
Contains the Amazon Kendra filter string to use if enabled. For more information on the Amazon Kendra search filter JSON format, see Using document attributes to filter search results.
- Parameters:
queryFilterString
- Contains the Amazon Kendra filter string to use if enabled. For more information on the Amazon Kendra search filter JSON format, see Using document attributes to filter search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. 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.
- Parameters:
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. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-