Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo.
The resolved, server-side view of model selector configuration for the
end-user. The backend computes this per-request by applying, in order:
Mendel flag evaluation, regional availability rules based on the
engine's location, and admin-panel overrides from model_configs.
The backend is the single source of truth for this configuration;
clients should render resolved_models directly in the model selector
dropdown, in the order provided, without applying their own filtering,
ordering, or localization.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_model_id
def auto_model_id() -> ::String-
(::String) — Output only. The
model_ida client must send when the end-user picks the "Auto" entry (the emptymodel_id).Populated only for surfaces known to have no true "Auto" mode, where leaving the model unset would fall back to a platform default rather than a backend-chosen model. Empty on every other surface, where "Auto" is resolved server-side, and when none of the surface's ranked models is available. When set, it is always one of the non-empty
model_ids present inresolved_models.
#default_model_id
def default_model_id() -> ::String-
(::String) — Output only. The
model_idof the model that should be selected by default in the model selector when the end-user has not made an explicit choice. The value is always one of themodel_ids present inresolved_models.
#resolved_models
def resolved_models() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel>- (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel>) — Output only. The list of models that are available to the end-user in the model selector, in the order in which they should be displayed.