class

OpenAI::FileAnnotation

Inherits JSON::Serializable < Reference < Object

Annotation that references an uploaded file.

Constructors

new(type_value : FileAnnotationType = FileAnnotationType::File, source : FileAnnotationSource = FileAnnotationSource.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

source

File attachment referenced by the annotation.

Source
source=(source : FileAnnotationSource)

File attachment referenced by the annotation.

Source
type_value

Type discriminator that is always file for this annotation.

Source
type_value=(type_value : FileAnnotationType)

Type discriminator that is always file for this annotation.

Source