Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk

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

Overview

Fact chunk for grounding check.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk

Returns a new instance of GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk.



11950
11951
11952
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11950

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)


11948
11949
11950
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11948

def chunk_text
  @chunk_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11955
11956
11957
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11955

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