Serving ML Model using GraphQL Subscription

Serve machine learning model using GraphQL subscription.

Photo by h heyerlein on Unsplash


In previous articles, I have used FastAPI + WebSocket + React to serve machine learning models. As machine learning models getting more complicated, the time to come out with predictions also takes longer. Using WebSocket provides an asynchronous method for the server to update the client with…