rhino_health.lib.endpoints.aimodel#

Submodules#

Package Contents#

Classes#

AIModel

AIModelRunInput

class rhino_health.lib.endpoints.aimodel.AIModel(*args, **kwargs)#

Bases: AIModelCreateInput

uid :str#

The unique ID of the AIModel

created_at :str#

When this AIModel was added

name :str#

The name of the AIModel

description :str#

The description of the AIModel

version :int#

The version of the AIModel

base_version_uid :Optional[str] =#

The first version of the AIModel

input_data_schema :str#

The schema pre-run of the input cohorts

output_data_schema :str#

The schema post-run of the output cohorts

project_uid :typing_extensions.Annotated[str, Field(alias='project')]#

The AIModel project

class rhino_health.lib.endpoints.aimodel.AIModelRunInput(*args, **kwargs)#

Bases: rhino_health.lib.dataclass.RhinoBaseModel

aimodel_uid :str#

The unique ID of the AIModel

input_cohort_uids :List[str]#

A list of the input cohort uids

output_cohort_names_suffix :str#

The suffix given to all output cohorts

run_params :Optional[str] = {}#

The run params code you want to run on the cohorts

timeout_seconds :Optional[int] = 600#

The time before a timeout is declared for the run

sync :Optional[bool] = True#

If True wait for run to end if False let it run in the background