Interface IModelClient
Namespace: IndicoV2-Models
Assembly: IndicoV2-Abstractions-dll
public interface IModelClientMethods
Gets
Task<IModelGroup> GetGroup(int modelGroupId, CancellationToken cancellationToken)Parameters
modelGroupId int
cancellationToken CancellationToken
<code>
<xref href="System-Threading-CancellationToken" data-throw-if-not-resolved="false"></xref>
</code> for handling cancellation of asynchronous operations-
Returns
Loads Model
[Obsolete("Models are now automatically loaded by IPA")]
Task<string> LoadModel(int modelId, CancellationToken cancellationToken)Parameters
modelId int
cancellationToken CancellationToken
<code>
<xref href="System-Threading-CancellationToken" data-throw-if-not-resolved="false"></xref>
</code> for handling cancellation of asynchronous operations-
Returns
Task[[string](https://learn-microsoft-com/dotnet/api/system-string)]
Status
Predicts on a Model Group-
Task<string> Predict(int modelId, List<string> data, CancellationToken cancellationToken)Parameters
modelId int
data List[[string](https://learn-microsoft-com/dotnet/api/system-string)]
Data to predict
cancellationToken CancellationToken
<code>
<xref href="System-Threading-CancellationToken" data-throw-if-not-resolved="false"></xref>
</code> for handling cancellation of asynchronous operations-
Returns
Task[[string](https://learn-microsoft-com/dotnet/api/system-string)]
Job's Id
Updated 5 months ago
