Table of Contents

Delegate LLM.ModelDownloadingProgressCallback

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

A delegate designed to monitor and report the progress of model downloading.

public delegate bool LLM.ModelDownloadingProgressCallback(string path, long? contentLength, long bytesRead)

Parameters

path string

The path where the model is being downloaded.

contentLength long?

The model size is given in bytes. A null value is returned if the content size cannot be obtained.

bytesRead long

Total bytes read.

Returns

bool

A boolean indicating whether loading should proceed.