ParallelModelKernelRidgeClient.ResultAsync method
Retrieves the result of the specified kernel ridge job.
public Task<JsonElement> ResultAsync(Guid modelId, Guid jobId, string computeSize,
string inputEncryptionKey, string eventType = "kernel_ridge_blob_uploaded",
string fileName = "result.json", TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| modelId | The model identifier. |
| jobId | The job identifier. |
| computeSize | The compute size identifier sent with the request. |
| inputEncryptionKey | The Base64 encryption key for the input data or artifact. |
| eventType | The event type used to locate the generated artifact. |
| fileName | The name of the requested file in the artifact. |
| timeout | An optional timeout for the API request. |
| cancellationToken | A token used to cancel the asynchronous operation. |
Return Value
A task that returns the job result.
Exceptions
| exception | condition |
|---|---|
| ParallelModelConfigurationException | A required identifier, compute size or supplied encryption key is invalid. |
See Also
- class ParallelModelKernelRidgeClient
- namespace ParallelModel.Sdk.ML.KernelRidge