# Packages
No description provided by the author
# Functions
AutoMigrate performs the automatic migration of all GORM models.
NewPendingJob builds a new PendingJob, setting ID to the job.Jid and Data to the JSON serialization of the job.
OptimisticSave saves the given model to the database, applyint the optimistic locking mechanism.
# Constants
SearchTwitterSource identifies a Twitter source linked to a terms search.
UserTwitterSource identifies a Twitter source linked to a user profile.
# Variables
ErrStaleObject is an error returned when attempting to save a stale record.
# Structs
ExtractedInfo is a single result from the information extraction task performed on a WebArticle.
Feed is a model representing an RSS or Atom feed.
FeedItem extends a WebResource representing the item of a Feed.
GDELTEvent represents a GDELT Event, and it extends a WebResource which contains the URL of the first recognized news report for this event.
InfoExtractionRule is a single configuration item for the information extraction task.
Model is the basic struct embedded into all GORM models.
A PendingJob represents a Faktory job which is not yet guaranteed to be scheduled (i.e.
SimilarityInfo provides information about similarity between WebArticles.
TextClass is a single classification result class for a WebArticle, predicted with a generic text classifier.
Tweet extends a WebResource which is the item of a TwitterSource.
TwitterSource represents the source of Tweets / WebResources.
Vector is a vector representation of a WebArticle.
WebArticle represents the scraped content of a WebResource.
WebResource represents a web resource, usually a web page, accessible via a URL.
ZeroShotClass is a single classification result class for a WebArticle, predicted with spaGO BART zero-shot classification service.
ZeroShotHypothesisLabel is one possible label to be replaced in the text of a ZeroShotHypothesisTemplate.
ZeroShotHypothesisTemplate represents the template for on hypothesis used for BART zero-shot classification of WebArticles.
# Interfaces
The OptimisticLockModel interface is implemented by GORM models which support optimistic locking.
# Type aliases
TwitterSourceType acts as an enumeration type to identify different kind of Twitter sources.