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 Details

    • kendraIndex

      QnAKendraConfiguration.Builder kendraIndex(String 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

      QnAKendraConfiguration.Builder queryFilterStringEnabled(Boolean 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

      QnAKendraConfiguration.Builder queryFilterString(String 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

      QnAKendraConfiguration.Builder exactResponse(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. 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.