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