|
| 1 | +--- |
| 2 | +parser: v2 |
| 3 | +auto_validation: true |
| 4 | +time: 45 |
| 5 | +tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform, software-product>sap-ai-launchpad, software-product>sap-ai-core ] |
| 6 | +primary_tag: software-product>sap-ai-core |
| 7 | +author_name: Dhrubajyoti Paul |
| 8 | +author_profile: https://github.com/dhrubpaul |
| 9 | +--- |
| 10 | + |
| 11 | +# Deploying a movie recommendation system to AI core using Tempelate generator |
| 12 | +<!-- description --> Building a portable AI code with Vs code template generator and Deploying the same on SAP AI Core. |
| 13 | + |
| 14 | +## Prerequisites |
| 15 | +- Understanding Of SAP AI Core |
| 16 | + |
| 17 | +## You will learn |
| 18 | +- Setup Vs code Template generator |
| 19 | +- Deploy generated code to AI core |
| 20 | + |
| 21 | +## Intro |
| 22 | +In this tutorial we would be Creating a movie recommendation Template and deploying the same using AI core. |
| 23 | +--- |
| 24 | + |
| 25 | + |
| 26 | +### Genrating template for Movie Recommendation |
| 27 | + |
| 28 | +step 1:** press Command + shift + p for *mac* and Control + shift + p for *Windows* to open control center and choose open template wizard. |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +**Step 2:** Once the Template generator opens choose AI core and press start. |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +**Step 3:** 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. |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +**Step 4:** enter the project name and version and press enter |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | +**Step 5:** fill up the details like scenario ID and Resource plan. |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | +**Step 6:** Similarly fill the details for Serving Plan. |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +**Step 7:** Choose the demo sample project as classification H2O and click on next. |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | +**Step 8:** As a last step add the Docker Details like Docker registry URL and username and click next to create the project. |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +Step 9: It will create all the required folders in the current directory. |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | +## Deploying Template to AI Core |
| 67 | + |
| 68 | +In the Generated tempelate visit Template folder > Pipelines and replace `ai-core_creds.json` and `S3_creds.json` with your Actual AI core Creds. |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | +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. |
| 73 | + |
| 74 | + |
0 commit comments