Interface IRemoteModelSearch
- Namespace
- JD.AI.Core.Providers.ModelSearch
- Assembly
- JD.AI.Core.dll
Searches a provider's model catalog and optionally pulls models locally.
public interface IRemoteModelSearch
Properties
ProviderName
string ProviderName { get; }
Property Value
Methods
PullAsync(RemoteModelResult, IProgress<string>?, CancellationToken)
Task<bool> PullAsync(RemoteModelResult model, IProgress<string>? progress = null, CancellationToken ct = default)
Parameters
modelRemoteModelResultprogressIProgress<string>ctCancellationToken
Returns
SearchAsync(string, CancellationToken)
Task<IReadOnlyList<RemoteModelResult>> SearchAsync(string query, CancellationToken ct = default)
Parameters
querystringctCancellationToken