Deploying real-time endpoints
Let's imagine that you have an e-banking solution that has a process for customers to request loans. You want to properly set the expectations of the customer and prepare them for potential rejection. When the customer submits their loan application form, you want to invoke the model you registered in the Registering models in the workspace section, that is, the model named chapter12-loans, and pass in the information that the customer filled out on the application form. If the model predicts that the loan will not be approved, a message will appear on the confirmation page of the loan request, preparing the customer for the potential rejection of the loan request.
Figure 12.5 shows an oversimplified architecture to depict the flow of requests that start from the customer to the real-time endpoint of the model: