GptThreadAnnotation class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

GptThreadAnnotation({required GptContentTextType type, required int startIndex, required int endIndex, required String text, GptThreadAnnotationFileCitation? fileCitation, GptThreadAnnotationFilePath? filePath})
GptThreadAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

endIndex int
getter/setter pair
fileCitation GptThreadAnnotationFileCitation?
getter/setter pair
filePath GptThreadAnnotationFilePath?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startIndex int
getter/setter pair
text String
getter/setter pair
type GptContentTextType
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited