ConversationAuthoringTrainedModel.GetTrainedModel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetTrainedModel(CancellationToken) |
Gets the details of a trained model. |
| GetTrainedModel(RequestContext) |
[Protocol Method] Gets the details of a trained model.
|
GetTrainedModel(CancellationToken)
Gets the details of a trained model.
public virtual Azure.Response<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel> GetTrainedModel(System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrainedModel : System.Threading.CancellationToken -> Azure.Response<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel>
override this.GetTrainedModel : System.Threading.CancellationToken -> Azure.Response<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel>
Public Overridable Function GetTrainedModel (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConversationAuthoringProjectTrainedModel)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
GetTrainedModel(RequestContext)
[Protocol Method] Gets the details of a trained model.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler GetTrainedModel(CancellationToken) convenience overload with strongly typed models first.
public virtual Azure.Response GetTrainedModel(Azure.RequestContext context);
abstract member GetTrainedModel : Azure.RequestContext -> Azure.Response
override this.GetTrainedModel : Azure.RequestContext -> Azure.Response
Public Overridable Function GetTrainedModel (context As RequestContext) As Response
Parameters
- context
- RequestContext
The request context, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
Service returned a non-success status code.