CopyAnnotationFeatureVector
abstract class CopyAnnotationFeatureVector extends Job
Traits
SerializesModels
InteractsWithQueue
Queueable
Dispatchable
Properties
protected bool | $deleteWhenMissingModels | Ignore this job if the annotation does not exist any more. |
Methods
__construct(AnnotationLabel $annotationLabel)
Copy the feature vector of the annotation associated with the annotation label to create a new feature vector for the annotation label.
void
handle()
Execute the job.
Builder
getFeatureVectorQuery()
Get a query for the feature vectors associated with the annotation of this job.
void
updateOrCreateFeatureVector(array $attributes)
Create a new feature vector model for the annotation of this job.
Details
at line 27
__construct(AnnotationLabel $annotationLabel)
Copy the feature vector of the annotation associated with the annotation label to create a new feature vector for the annotation label.
at line 37
void
handle()
Execute the job.
at line 55
abstract protected Builder
getFeatureVectorQuery()
Get a query for the feature vectors associated with the annotation of this job.
at line 60
abstract protected void
updateOrCreateFeatureVector(array $attributes)
Create a new feature vector model for the annotation of this job.