Class: Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoRecitationResult

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

Overview

The recitation result for one input

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LanguageLabsAidaTrustRecitationProtoRecitationResult

Returns a new instance of LanguageLabsAidaTrustRecitationProtoRecitationResult.



28610
28611
28612
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28610

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dynamic_segment_resultsArray<Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoSegmentResult>

Corresponds to the JSON property dynamicSegmentResults



28596
28597
28598
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28596

def dynamic_segment_results
  @dynamic_segment_results
end

#recitation_actionString

The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE

NO_ACTION. Corresponds to the JSON property recitationAction

Returns:

  • (String)


28603
28604
28605
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28603

def recitation_action
  @recitation_action
end

#training_segment_resultsArray<Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoSegmentResult>

Corresponds to the JSON property trainingSegmentResults



28608
28609
28610
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28608

def training_segment_results
  @training_segment_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28615
28616
28617
28618
28619
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28615

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