Skip to Content

Deploy a Movie Recommendation System to AI Core Using Template Generator

Build a portable AI code with Vs code template generator and deploy the same on SAP AI Core.
You will learn
  • How to setup a VS Code template generator
  • How to deploy generated code to AI Core
dhrubpaulDhrubajyoti PaulJuly 31, 2024
Created by
DevelopedByAnurag
July 31, 2023
Contributors
DevelopedByAnurag
sharmaneeleshsap
dhrubpaul

Prerequisites

In this tutorial we would be Creating a movie recommendation Template and deploying the same using AI core.

  • Step 1

    In your Visual Studio Code Application, go to extensions and search for application wizard. Go to the Applictation wizard by SAP OS and install it.

    image

    Press Command + shift + p for mac and Control + shift + p for Windows to open control center and choose open template wizard.

    image

    When the template wizard is open, click on Explore and Install generators.

    image

    Search for ai core and install the @sap/ai-core generator.

    image
  • Step 2
    • press Command + shift + p for mac and Control + shift + p for Windows to open control center and choose open template wizard.
    image
    • Once the Template generator opens choose AI core and press start.
    image
    • If you have your custom code choose Basic Project or if you wanted to use the pre-generated training and serving code use AI core sample project for this demo we are going to use.
    image
    • enter the project name and version and press enter
    image
    • fill up the details like scenario ID and Resource plan.
    image
    • Similarly fill the details for Serving Plan.
    image
    • Choose the demo sample project as Movie Recommendation and click on next.
    image
    • As a last step add the Docker Details like Docker registry URL and username and click next to create the project.
    image
    • It will create all the required folders in the current directory.
    image
  • Step 3

    In the generated template visit Template folder > Pipelines and replace ai-core_creds.json and S3_creds.json with your actual AI core credentials.

    image

    Once done Under the same pipelines folder open AI-core-skd-notebook and replace the Configure variables with your own Variables and click on run all.

    image
Back to top