Table of Contents

Class FileModelSource

Namespace
JD.AI.Core.LocalModels.Sources
Assembly
JD.AI.Core.dll

Discovers a single GGUF file at a known path.

public sealed class FileModelSource : IModelSource
Inheritance
FileModelSource
Implements
Inherited Members

Constructors

FileModelSource(string)

public FileModelSource(string filePath)

Parameters

filePath string

Methods

ScanAsync(CancellationToken)

Scan for available models from this source.

public Task<IReadOnlyList<ModelMetadata>> ScanAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task<IReadOnlyList<ModelMetadata>>