ParallelModelModelClient.CreateAsync method
Creates a model through the authentication API.
public Task<ParallelModelModelResponseModel> CreateAsync(ParallelModelCreateRequestModel request,
TimeSpan? timeout = default, CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| request | The model creation request. |
| timeout | The optional timeout for the operation. |
| cancellationToken | The token used to cancel the operation. |
Return Value
A task containing the created model response.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | The request is null. |
| ParallelModelResponseDecodeException | The response is empty or cannot be deserialized. |
See Also
- class ParallelModelModelResponseModel
- class ParallelModelCreateRequestModel
- class ParallelModelModelClient
- namespace ParallelModel.Sdk.Shared.Model