ParallelModelPreprocessingClient.ResultAsync method
Retrieves the result of the specified preprocessing job.
public Task<ParallelModelPreprocessingResultResponseModel> ResultAsync(Guid modelId, Guid jobId,
string computeSize, string inputEncryptionKey,
string eventType = "preprocessing_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 configuration value or identifier is invalid. |