Skip to main content

ParallelModelNaiveBayesClient.ExtractAsync method

Requests extraction of the specified file from a naive bayes job artifact.

public Task<JsonElement> ExtractAsync(Guid modelId, Guid jobId, string fileName,
string computeSize, string inputEncryptionKey, string outputEncryptionKey,
string eventType = "naive_bayes_blob_uploaded", TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
parameterdescription
modelIdThe model identifier.
jobIdThe job identifier.
fileNameThe name of the requested file in the 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.
eventTypeThe event type used to locate the generated 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 configuration value or identifier is invalid.

See Also​