ParallelModelModelClient.GetAsync method
Retrieves the model with the specified identifier through the authentication API.
public Task<ParallelModelModelResponseModel> GetAsync(Guid modelId, TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| modelId | The non-empty identifier of the model. |
| timeout | The optional timeout for the operation. |
| cancellationToken | The token used to cancel the operation. |
Return Value
A task containing the model response.
Exceptions
| exception | condition |
|---|---|
| ParallelModelConfigurationException | The model identifier is empty. |
| ParallelModelResponseDecodeException | The response is empty or cannot be deserialized. |
See Also
- class ParallelModelModelResponseModel
- class ParallelModelModelClient
- namespace ParallelModel.Sdk.Shared.Model