Output to Blazor backend from Azure deployed AI model

Héðinn Steingrímsson 0 Reputation points
2023-09-21T17:14:52.9166667+00:00

Hi,

We need to get the output of an AI model that runs as a managed endpoint in Azure to our Blazor backend.

What is the best way to do that?

Is there a way to send the output from the AI model to the Blazor backend once it is ready? If yes, how exactly is that done (we need a handle of the Blazor backend to send to)?

Is it possible to send a Restful call to the AI model from the Blazor backend?

Regards,

A

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,897 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Krew Noah 500 Reputation points
    2023-09-23T10:52:08.3166667+00:00

    There are a few ways to send output from an Azure AI model to a Blazor backend. One way is to use a RESTful API. You can deploy the AI model as a web service and then call the web service from your Blazor backend. Another way is to use Azure SignalR. You can create a SignalR hub on your Blazor backend and then connect to the hub from the AI model. Once the AI model is connected to the hub, it can send output to the Blazor backend by calling methods on the hub.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.