Interface QnAKendraConfiguration.Builder

    • Method Detail

      • 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.
      • 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.