namespace LLama.Web.Common
{
///
/// The type of model load caching to use
///
public enum ModelLoadType
{
///
/// Only one model will be loaded into memory at a time, any other models will be unloaded before the new one is loaded
///
Single = 0,
///
/// Multiple models will be loaded into memory, ensure you use the ModelConfigs to split the hardware resources
///
Multiple = 1,
///
/// The first model in the appsettings.json list will be preloaded into memory at app startup
///
PreloadSingle = 2,
///
/// All models in the appsettings.json list will be preloaded into memory at app startup, ensure you use the ModelConfigs to split the hardware resources
///
PreloadMultiple = 3,
}
}