ParallelModelDatasetClient.ExtractAsync method
Requests extraction of the specified file from a dataset job artifact.
public Task<ParallelModelDatasetExtractResponseModel> ExtractAsync(Guid modelId, Guid jobId,
string filePath, string computeSize, string inputEncryptionKey, string outputEncryptionKey,
TimeSpan? timeout = default, CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| modelId | The model identifier. |
| jobId | The job identifier. |
| filePath | The path of the file to extract from the dataset artifact. |
| computeSize | The compute size identifier sent with the request. |
| inputEncryptionKey | The Base64 encryption key for the input data or artifact. |
| outputEncryptionKey | The Base64 encryption key for the output data or 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 extraction response.
Exceptions
| exception | condition |
|---|---|
| ParallelModelConfigurationException | A required identifier, compute size or supplied encryption key is invalid. |
See Also
- class ParallelModelDatasetExtractResponseModel
- class ParallelModelDatasetClient
- namespace ParallelModel.Sdk.ML.Dataset