Skip to main content

ParallelModelModelClient.CreateAsync method

Creates a model through the authentication API.

public Task<ParallelModelModelResponseModel> CreateAsync(ParallelModelCreateRequestModel request,
TimeSpan? timeout = default, CancellationToken cancellationToken = default)
parameterdescription
requestThe model creation request.
timeoutThe optional timeout for the operation.
cancellationTokenThe token used to cancel the operation.

Return Value​

A task containing the created model response.

Exceptions​

exceptioncondition
ArgumentNullExceptionThe request is null.
ParallelModelResponseDecodeExceptionThe response is empty or cannot be deserialized.

See Also​