Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk

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

Overview

Fact chunk for grounding check.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk

Returns a new instance of GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk.



6168
6169
6170
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6168

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

Instance Attribute Details

#chunk_textString

Text content of the fact chunk. Can be at most 10K characters long. Corresponds to the JSON property chunkText

Returns:

  • (String)


6166
6167
6168
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6166

def chunk_text
  @chunk_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6173
6174
6175
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6173

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