Method GetPredefinedModelCardByModelID
GetPredefinedModelCardByModelID(string)
Retrieves a predefined ModelCard instance by its unique model identifier.
public static ModelCard GetPredefinedModelCardByModelID(string modelID)
Parameters
modelID
stringThe unique identifier of the model to be retrieved. This identifier should match the ModelID property of one of the predefined model cards.
Returns
- ModelCard
A ModelCard instance that corresponds to the specified
modelID
, ornull
if no matching model is found in the predefined collection.
Remarks
This method calls GetPredefinedModelCards(bool) with dropSmallerModels
set to false
,
ensuring that all predefined models are considered without filtering out smaller variants based on performance criteria.