Skip to content

Commit a6bd8ae

Browse files
updated tutorial
1 parent dcffe11 commit a6bd8ae

12 files changed

Lines changed: 74 additions & 0 deletions
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
![](img/tempelate_gen1.png)
31+
32+
**Step 2:** Once the Template generator opens choose AI core and press start.
33+
34+
![](img/tempelate_gen2.png)
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+
![](img/tempelate_gen3.png)
39+
40+
**Step 4:** enter the project name and version and press enter
41+
42+
![](img/tempelate_gen4.png)
43+
44+
**Step 5:** fill up the details like scenario ID and Resource plan.
45+
46+
![](img/tempelate_gen5.png)
47+
48+
**Step 6:** Similarly fill the details for Serving Plan.
49+
50+
![](img/tempelate_gen6.png)
51+
52+
**Step 7:** Choose the demo sample project as classification H2O and click on next.
53+
54+
![](img/tempelate_gen7.png)
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+
![](img/tempelate_gen8.png)
60+
61+
Step 9: It will create all the required folders in the current directory.
62+
63+
![](img/tempelate_gen9.png)
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+
![](img/run_movie1.png)
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+
![](img/run_movie2.png)
62.2 KB
Loading
496 KB
Loading
18.9 KB
Loading
34.6 KB
Loading
29.1 KB
Loading
19.9 KB
Loading
28.7 KB
Loading
30.7 KB
Loading
24.5 KB
Loading

0 commit comments

Comments
 (0)