Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LearningGenaiRootGroundingMetadata

Returns a new instance of LearningGenaiRootGroundingMetadata.



32556
32557
32558
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32556

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

Instance Attribute Details

#citationsArray<Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadataCitation>

Corresponds to the JSON property citations



32543
32544
32545
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32543

def citations
  @citations
end

#grounding_cancelledBoolean Also known as: grounding_cancelled?

True if grounding is cancelled, for example, no facts being retrieved. Corresponds to the JSON property groundingCancelled

Returns:

  • (Boolean)


32548
32549
32550
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32548

def grounding_cancelled
  @grounding_cancelled
end

#search_queriesArray<String>

Corresponds to the JSON property searchQueries

Returns:

  • (Array<String>)


32554
32555
32556
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32554

def search_queries
  @search_queries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32561
32562
32563
32564
32565
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32561

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