inferences.errors#
- exception DatasetError(errors: ValidationError | List[ValidationError])#
Bases:
Exception
An error raised when the dataset is invalid or incomplete
- exception EmbeddingVectorSizeMismatch(embedding_feature_name: str, vector_column_name: str, vector_lengths: List[int])#
Bases:
ValidationError
An error raised when there is an embedding feature with multiple different vector lengths
- error_message() str #
- exception InvalidColumnType(error_msgs: Iterable[str])#
Bases:
ValidationError
An error raised when the column type is invalid
- error_message() str #
- exception InvalidEmbeddingReservedName(reserved_name: str, schema_field: str)#
Bases:
ValidationError
An error raised when there is an embedding feature with a name, i.e. dictionary key, that is reserved
- error_message() str #
- exception InvalidEmbeddingVectorDataType(embedding_feature_name: str, vector_column_type: str)#
Bases:
ValidationError
An error raised when there is an embedding feature with a vector of an unsupported data type
- error_message() str #
- exception InvalidEmbeddingVectorSize(embedding_feature_name: str, vector_column_name: str, vector_length: int)#
Bases:
ValidationError
An error raised when there is an embedding feature with an invalid vector length
- error_message() str #
- exception InvalidEmbeddingVectorValuesDataType(embedding_feature_name: str, vector_column_name: str, vector: Any)#
Bases:
ValidationError
An error raised when there is an embedding feature with a vector that has values of an unsupported data type
- error_message() str #
- exception InvalidSchemaError(invalid_props: Iterable[str])#
Bases:
ValidationError
- error_message() str #
- exception MissingColumns(cols: Iterable[str])#
Bases:
ValidationError
An error raised when the dataset is missing columns specified in the schema
- error_message() str #
- exception MissingEmbeddingFeatureColumnNames(embedding_feature_name: str)#
Bases:
ValidationError
An error raised when trying to access an EmbeddingColumnNames config that is absent from the schema
- error_message() str #
- exception MissingEmbeddingFeatureLinkToDataColumnName(embedding_feature_name: str)#
Bases:
ValidationError
An error raised when trying to access an EmbeddingColumnNames.link_to_data_column_name absent from the schema
- error_message() str #
- exception MissingEmbeddingFeatureRawDataColumnName(embedding_feature_name: str)#
Bases:
ValidationError
An error raised when trying to access an EmbeddingColumnNames.raw_data_column_name that is absent from the schema
- error_message() str #
- exception MissingEmbeddingFeatureVectorColumnName(embedding_feature_name: str)#
Bases:
ValidationError
An error raised when trying to access an EmbeddingColumnNames.vector_column_name that is absent from the schema
- error_message() str #
- exception MissingField(field: str)#
Bases:
ValidationError
An error raised when trying to access a field that is absent from the Schema
- error_message() str #
- exception MissingTimestampColumnName#
Bases:
ValidationError
An error raised when trying to access a timestamp column that is absent from the schema.
- error_message() str #
- exception MissingVectorColumn(col: str)#
Bases:
ValidationError
An error raised when the dataset is missing an embedding vector column specified in the schema
- error_message() str #
- exception SchemaError(errors: ValidationError | List[ValidationError])#
Bases:
Exception
An error raised when the Schema is invalid or incomplete