Table of Contents

Property ModelDownloadDirectory

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

ModelDownloadDirectory

Gets or sets a writable directory that takes the model files ModelStorageDirectory cannot: models absent from it are looked up here, and downloaded here when found in neither, and model archives extract their components here.

public static string ModelDownloadDirectory { get; set; }

Property Value

string

Remarks

Lets ModelStorageDirectory be a read-only location, such as a shared or immutable volume holding the models a deployment provisioned beforehand, while a model it lacks still downloads on demand. A model present in ModelStorageDirectory is always read from there.

null (the default) keeps every model file in ModelStorageDirectory. Setting a path creates the directory when it does not exist; setting null, an empty string or whitespace restores the default.

Share