Table of Contents

Method GetPredefinedModelCardByModelID

Namespace
LMKit.Model
Assembly
LM-Kit.NET.dll

GetPredefinedModelCardByModelID(string)

Retrieves a predefined ModelCard instance by its unique model identifier.

public static ModelCard GetPredefinedModelCardByModelID(string modelID)

Parameters

modelID string

The 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, or null 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.