Table of Contents

Class FoundryLocalModelSearch

Namespace
JD.AI.Core.Providers.ModelSearch
Assembly
JD.AI.Core.dll

Searches for models available through Microsoft Foundry Local CLI.

public sealed class FoundryLocalModelSearch : IRemoteModelSearch
Inheritance
FoundryLocalModelSearch
Implements
Inherited Members

Properties

ProviderName

public string ProviderName { get; }

Property Value

string

Methods

PullAsync(RemoteModelResult, IProgress<string>?, CancellationToken)

public Task<bool> PullAsync(RemoteModelResult model, IProgress<string>? progress = null, CancellationToken ct = default)

Parameters

model RemoteModelResult
progress IProgress<string>
ct CancellationToken

Returns

Task<bool>

SearchAsync(string, CancellationToken)

public Task<IReadOnlyList<RemoteModelResult>> SearchAsync(string query, CancellationToken ct = default)

Parameters

query string
ct CancellationToken

Returns

Task<IReadOnlyList<RemoteModelResult>>