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.
2737 2738 2739 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2737 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
2735 2736 2737 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2735 def chunk_text @chunk_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2742 2743 2744 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2742 def update!(**args) @chunk_text = args[:chunk_text] if args.key?(:chunk_text) end |