Class: Aws::LexModelsV2::Types::QnAKendraConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exact_responseBoolean

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:

  • (Boolean)


11630
11631
11632
11633
11634
11635
11636
11637
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11630

class QnAKendraConfiguration < Struct.new(
  :kendra_index,
  :query_filter_string_enabled,
  :query_filter_string,
  :exact_response)
  SENSITIVE = []
  include Aws::Structure
end

#kendra_indexString

The ARN of the Amazon Kendra index to use.

Returns:

  • (String)


11630
11631
11632
11633
11634
11635
11636
11637
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11630

class QnAKendraConfiguration < Struct.new(
  :kendra_index,
  :query_filter_string_enabled,
  :query_filter_string,
  :exact_response)
  SENSITIVE = []
  include Aws::Structure
end

#query_filter_stringString

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:

  • (String)


11630
11631
11632
11633
11634
11635
11636
11637
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11630

class QnAKendraConfiguration < Struct.new(
  :kendra_index,
  :query_filter_string_enabled,
  :query_filter_string,
  :exact_response)
  SENSITIVE = []
  include Aws::Structure
end

#query_filter_string_enabledBoolean

Specifies whether to enable an Amazon Kendra filter string or not.

Returns:

  • (Boolean)


11630
11631
11632
11633
11634
11635
11636
11637
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11630

class QnAKendraConfiguration < Struct.new(
  :kendra_index,
  :query_filter_string_enabled,
  :query_filter_string,
  :exact_response)
  SENSITIVE = []
  include Aws::Structure
end