relevanceai.constants.errors#

Module Contents#

relevanceai.constants.errors.MISSING_FIELD = Missing field in dataset#
relevanceai.constants.errors.API_ERROR = Unfortunately you have encountered an API Error! If this is urgent, please submit a ticket to...#
relevanceai.constants.errors.CLUSTERING_ALREADY_EXISTS = Clustering already exists for this Field#
relevanceai.constants.errors.NO_DOCUMENTS = No Documents were returned#
relevanceai.constants.errors.NO_MODEL = No Model was specified#
exception relevanceai.constants.errors.RelevanceAIError(message: str)#

_Base class for all errors

exception relevanceai.constants.errors.FieldNotFoundError(*args, **kwargs)#

Error handling for missing fields

exception relevanceai.constants.errors.APIError(*args, **kwargs)#

Error related to API

exception relevanceai.constants.errors.ClusteringResultsAlreadyExistsError(*args, **kwargs)#

Error for when clustering results already exist

exception relevanceai.constants.errors.NoDocumentsError(*args, **kwargs)#

Error for when no documents are retrieved for an operation.

exception relevanceai.constants.errors.NoModelError(**kwargs)#

Error for when no model is specified when clustering.

exception relevanceai.constants.errors.TokenNotFoundError(*args, **kwargs)#
exception relevanceai.constants.errors.ProjectNotFoundError(*args, **kwargs)#
exception relevanceai.constants.errors.APIKeyNotFoundError(*args, **kwargs)#
exception relevanceai.constants.errors.FireBaseUIDNotFoundError(*args, **kwargs)#
exception relevanceai.constants.errors.RegionNotFoundError(*args, **kwargs)#
exception relevanceai.constants.errors.SetArgumentError(argument, *args, **kwargs)#

_Base class for all errors

exception relevanceai.constants.errors.MissingClusterError(alias, *args, **kwargs)#

Error for missing clusters

exception relevanceai.constants.errors.MissingPackageError(package, version: Optional[str] = None, *args, **kwargs)#

_Base class for all errors

exception relevanceai.constants.errors.MissingPackageExtraError(extra, version: Optional[str] = None, *args, **kwargs)#

_Base class for all errors

exception relevanceai.constants.errors.ModelNotSupportedError(*args, **kwargs)#

_Base class for all errors