Class: Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
The recitation result for one stream input
Instance Attribute Summary collapse
-
#dynamic_segment_results ⇒ Array<Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoSegmentResult>
The recitation result against the given dynamic data source.
-
#fully_checked_text_index ⇒ Fixnum
Last index of input text fully checked for recitation in the entire streaming context.
-
#recitation_action ⇒ String
The recitation action for one given input.
-
#training_segment_results ⇒ Array<Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoSegmentResult>
The recitation result against model training data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LanguageLabsAidaTrustRecitationProtoStreamRecitationResult
constructor
A new instance of LanguageLabsAidaTrustRecitationProtoStreamRecitationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LanguageLabsAidaTrustRecitationProtoStreamRecitationResult
Returns a new instance of LanguageLabsAidaTrustRecitationProtoStreamRecitationResult.
34865 34866 34867 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34865 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_segment_results ⇒ Array<Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoSegmentResult>
The recitation result against the given dynamic data source.
Corresponds to the JSON property dynamicSegmentResults
34845 34846 34847 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34845 def dynamic_segment_results @dynamic_segment_results end |
#fully_checked_text_index ⇒ Fixnum
Last index of input text fully checked for recitation in the entire streaming
context. Would return -1 if no Input was checked for recitation.
Corresponds to the JSON property fullyCheckedTextIndex
34851 34852 34853 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34851 def fully_checked_text_index @fully_checked_text_index end |
#recitation_action ⇒ String
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
34858 34859 34860 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34858 def recitation_action @recitation_action end |
#training_segment_results ⇒ Array<Google::Apis::AiplatformV1beta1::LanguageLabsAidaTrustRecitationProtoSegmentResult>
The recitation result against model training data.
Corresponds to the JSON property trainingSegmentResults
34863 34864 34865 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34863 def training_segment_results @training_segment_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34870 34871 34872 34873 34874 34875 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34870 def update!(**args) @dynamic_segment_results = args[:dynamic_segment_results] if args.key?(:dynamic_segment_results) @fully_checked_text_index = args[:fully_checked_text_index] if args.key?(:fully_checked_text_index) @recitation_action = args[:recitation_action] if args.key?(:recitation_action) @training_segment_results = args[:training_segment_results] if args.key?(:training_segment_results) end |