Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk
- 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
-
#chunk_text ⇒ String
Text content of the fact chunk.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseCheckGroundingFactChunk.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_text ⇒ String
Text content of the fact chunk. Can be at most 10K characters long.
Corresponds to the JSON property chunkText
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 |