You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. To be able to use the Swagger UI endpoints, you need to authorize yourself. In the top right corner, click **Authorize**.
37
37
38
-
<!-- border -->
38
+
<!-- border -->
39
39
40
40
3. Get the `access_token` value created in the previous tutorial: [Get OAuth Access Token for Personalized Recommendation via Web Browser](cp-aibus-pr-web-oauth-token), then add **Bearer** in front of it, and enter in the **Value** field.
7. Click the **Execute** button. *Bear in mind that users with the free tier model for SAP BTP are limited to a total number of 2 trainings per month*. When you call the third training API, you get a 403 response stating that you have exceeded your quota for the month.
164
164
165
165
After you trigger the training, there are two possible outcomes:
166
166
167
167
- Still ongoing, where the status is "PENDING", and code 200.
- Conflict, where the trigger clashed with the ongoing training from the previous trigger. The status is "Previously submitted job still in progress", and the code is 409.
@@ -246,19 +246,18 @@ You can expect the following responses:
246
246
247
247
- The model is able to understand the request and successfully return a set of recommendations. This returns a 200 code, stating the recommended items with their respective confidence scores.
- Forbidden. The user has exceeded their inference quota for the month. A short message is displayed with code 403. *Bear in mind that users with the free tier model for SAP BTP are limited to a total number of 1000 inference requests per month*.
256
256
257
-
<!-- border -->
257
+
<!-- border -->
258
258
259
259
- The training process has not finished yet. This returns a 404 code, stating that no model instances were found.
You have now successfully used the Personalized Recommendation service and your own dataset to train a machine learning model and get recommendations based on users' browsing history and/or item description.
To get your OAuth access token you will need the values highlighted in the image below from the service key you created in the previous tutorial: [Use the Free Tier Service Plan to Set Up Account for Personalized Recommendation and Get Service Key](cp-aibus-pr-booster-free-key).
@@ -54,4 +54,3 @@ You should receive a response like the following:
54
54
Once the token has been generated, make sure to copy and save it locally for easy access. The token is valid for 12 hours (43199 seconds). After that, you'll need to generate a new one.
55
55
56
56
You have successfully generated your OAuth access token for the Personalized Recommendation service and you are now all set to: [Get recommendations based on users' browsing history and/or item description](cp-aibus-pr-swagger-ui).
0 commit comments