Skip to main content

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)
parameterdescription
modelIdThe model identifier.
jobIdThe job identifier.
filePathThe path of the file to extract from the dataset artifact.
computeSizeThe compute size identifier sent with the request.
inputEncryptionKeyThe Base64 encryption key for the input data or artifact.
outputEncryptionKeyThe Base64 encryption key for the output data or artifact.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the extraction response.

Exceptions​

exceptioncondition
ParallelModelConfigurationExceptionA required identifier, compute size or supplied encryption key is invalid.

See Also​