Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Grounding specification.
Instance Attribute Summary collapse
-
#include_grounding_supports ⇒ Boolean
(also: #include_grounding_supports?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec
Returns a new instance of GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec.
1140 1141 1142 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_grounding_supports ⇒ Boolean Also known as: include_grounding_supports?
Optional. Specifies whether to include grounding_supports in the answer. The
default value is false
. When this field is set to true
, returned answer
will have grounding_score
and will contain GroundingSupports for each claim.
Corresponds to the JSON property includeGroundingSupports
1137 1138 1139 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1137 def include_grounding_supports @include_grounding_supports end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1145 1146 1147 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1145 def update!(**args) @include_grounding_supports = args[:include_grounding_supports] if args.key?(:include_grounding_supports) end |