great-ai/great_ai/__init__.py

27 lines
733 B
Python

"""GreatAI"""
__version__ = "0.0.12"
from .context import configure
from .deploy import GreatAI
from .exceptions import (
ArgumentValidationError,
MissingArgumentError,
WrongDecoratorOrderError,
)
from .models import save_model, use_model
from .output_views import (
ClassificationOutput,
MultiLabelClassificationOutput,
RegressionOutput,
)
from .parameters import log_metric, parameter
from .persistence import MongodbDriver, ParallelTinyDbDriver, TracingDatabaseDriver
from .remote import (
HttpClient,
RemoteCallError,
call_remote_great_ai,
call_remote_great_ai_async,
)
from .tracing import add_ground_truth, delete_ground_truth, query_ground_truth
from .views import RouteConfig, Trace