Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk

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

Fact chunk for grounding check.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk

Returns a new instance of GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk.



2583
2584
2585
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2583

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)


2581
2582
2583
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2581

def chunk_text
  @chunk_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2588
2589
2590
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2588

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