Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

The configuration for grounding checking.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig

Returns a new instance of GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig.



16498
16499
16500
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16498

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sourcesArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry>

The sources for the grounding checking. Corresponds to the JSON property sources



16496
16497
16498
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16496

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16503
16504
16505
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16503

def update!(**args)
  @sources = args[:sources] if args.key?(:sources)
end