Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
The configuration for grounding checking.
Instance Attribute Summary collapse
-
#disable_attribution ⇒ Boolean
(also: #disable_attribution?)
If set, skip finding claim attributions (i.e not generate grounding citation).
-
#sources ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry>
The sources for the grounding checking.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig
Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig.
44600 44601 44602 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_attribution ⇒ Boolean Also known as: disable_attribution?
If set, skip finding claim attributions (i.e not generate grounding citation).
Corresponds to the JSON property disableAttribution
44592 44593 44594 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44592 def disable_attribution @disable_attribution end |
#sources ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry>
The sources for the grounding checking.
Corresponds to the JSON property sources
44598 44599 44600 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44598 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44605 44606 44607 44608 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44605 def update!(**args) @disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution) @sources = args[:sources] if args.key?(:sources) end |