Make Predictions for House Prices with SAP AI Core
- How to create deployment server an for AI model
- How to set up scaling options for your deployment server
- How to swap a deployed AI model with a different new model
Prerequisites
- You have connected code to the AI workflows of SAP AI Core using this tutorial.
- You have trained a model using SAP AI Core, such as the house price predictor model in this tutorial, or your own model trained in your local system. If you trained your own local model, follow this tutorial to use it with SAP AI Core.
- You know how to locate artifacts. This is explained in this tutorial.
You will create a deployment server for AI models to use in online inferencing. It is possible to change the names of components mentioned in this tutorial, without breaking the functionality, unless stated explicitly.
The deployment server demonstrated in this tutorial can only be used in the backend of your AI project. For security reasons, in your real set up you will not be able to directly make prediction calls from your front end application to the deployment server. Doing so will lead to an inevitable Cross-origin Resource Sharing (CORS) error. As a temporary resolution, please deploy another application between your front end application and this deployment server. This middle application should use the SAP AI Core SDK (python package) to make calls to the deployment server.