cayu.sessions.ModelTarget
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import ModelTargetAn application-selected provider and model pair for one session epoch.
Bases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
provider_name |
str |
required |
model |
str |
required |
validate_nonblank_fields (method)
Section titled “validate_nonblank_fields (method)”ModelTarget.validate_nonblank_fields(value: str, info) -> str