Model Selection View Model
app.domain.views.model_selection_view_modelModule for model selection view model; defines application concepts without UI or infrastructure dependencies.
See Also
get_detection_model_names_as_view_model_by_provider_id— builds model choices by providerModelHandler— applies model selection changes
Layer: Domain. Context: Defines application concepts without ui or infrastructure dependencies at this architectural boundary.
ModelSelectionViewModel
dataclass
Dropdown item model for detection model selector (right panel).
| ATTRIBUTE | DESCRIPTION |
|---|---|
model_id |
Internal identifier used to load the model.
TYPE:
|
display_name |
User-facing label shown in the dropdown.
TYPE:
|
provider_id |
Stable provider/family identifier used for filtering.
TYPE:
|
provider_display_name |
User-facing provider label shown in provider pickers.
TYPE:
|
Note
Instances flow from DetectionService.get_available_detection_models()
to the UI dropdown, which displays display_name while keeping
model_id available for the actual model selection.
Layer: Domain. Context: Represents application concepts without UI or infrastructure dependencies.