GenaiVertexV1TextContentAnnotation class
Citation information for model-generated content.
Constructors
- GenaiVertexV1TextContentAnnotation({int? endIndex, GenaiVertexV1FileCitation? fileCitation, GenaiVertexV1PlaceCitation? placeCitation, GenaiVertexV1SpeechAnnotation? speechMetadata, int? startIndex, GenaiVertexV1UrlCitation? urlCitation, GenaiVertexV1WordInfo? wordInfo})
- GenaiVertexV1TextContentAnnotation.fromJson(Map json_)
Properties
- endIndex ↔ int?
-
End of the attributed segment, exclusive.
getter/setter pair
- fileCitation ↔ GenaiVertexV1FileCitation?
-
A file citation annotation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- placeCitation ↔ GenaiVertexV1PlaceCitation?
-
A place citation annotation.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speechMetadata ↔ GenaiVertexV1SpeechAnnotation?
-
Speech annotation for text content.
getter/setter pair
- startIndex ↔ int?
-
Start of segment of the response that is attributed to this source.
getter/setter pair
- urlCitation ↔ GenaiVertexV1UrlCitation?
-
NOTE: We use these instead of the Citation message for historical reasons.
getter/setter pair
- wordInfo ↔ GenaiVertexV1WordInfo?
-
Word-level ASR annotation with timing and speaker info.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited