Introduction
There are several ways that a web app can be augmented with AI services: you could leverage an existing Web API exposing a model, or build it yourself and have it call a model.
The reason you would want to add AI to your app in the first place is to make it smarter. Not smarter for its own sake, but to make it more useful to the user. For example, if you have a web app that allows users to search for products, you could add a feature that suggests products based on the user’s previous purchases. In fact, why limit yourself to previous purchases? Why not suggest products based on the user’s previous searches? Or, what if the user could take a picture of a product and the app would suggest similar products?
As you can see, there are a lot of possibilities for augmenting your web app with AI that would improve the user experience.
In this chapter, we will:
- Discuss different model formats like Pickle and ONNX
- Learn how to use both...