datadiligence package¶
Subpackages¶
- datadiligence.evaluators package
- datadiligence.rules package
Submodules¶
datadiligence.bootstrap module¶
functions to preload default evaluators and make accessible globally
- datadiligence.bootstrap.deregister_evaluator(name)[source]¶
Deregister an evaluator.
- Parameters:
name (str) – The name of the evaluator.
- datadiligence.bootstrap.filter_allowed(name=None, **kwargs)[source]¶
Filter a list of content.
- Parameters:
name (str) – The name of a specific evaluator.
**kwargs – Arbitrary keyword arguments to read args from.
- datadiligence.bootstrap.get_evaluator(name)[source]¶
Get an evaluator.
- Parameters:
name (str) – The name of the evaluator.
datadiligence.exceptions module¶
Exceptions for the package.
- exception datadiligence.exceptions.DefaultEvaluatorNotFound(args)[source]¶
Bases:
Exception
Raised when aa default evaluator can’t be determined.
- exception datadiligence.exceptions.EvaluatorAlreadyRegistered(name)[source]¶
Bases:
Exception
Raised when an evaluator is already registered.
- exception datadiligence.exceptions.EvaluatorNotRegistered(name)[source]¶
Bases:
Exception
Raised when an evaluator is not registered.
- exception datadiligence.exceptions.HttpUnknownHeaderObject[source]¶
Bases:
Exception
Raised when an HTTPRule is provided with an unknown header object.
- exception datadiligence.exceptions.HttpUnknownResponseObject[source]¶
Bases:
Exception
Raised when HTTPRule is provided with an unknown response object.
- exception datadiligence.exceptions.NotEvaluator[source]¶
Bases:
Exception
Raised when an object is not an evaluator.
- exception datadiligence.exceptions.SpawningAIAPIError(message)[source]¶
Bases:
Exception
Raised when the Spawning AI API returns an error.
- exception datadiligence.exceptions.SpawningNoParam[source]¶
Bases:
Exception
Raised when SpawningAPI isn’t provided with a list of urls.
datadiligence.utils module¶
Utility functions for package.
Module contents¶
Respect generative AI opt-outs in your ML and training pipeline.