Skip to content

Commit 418870e

Browse files
committed
updates to aicore tutorials
1 parent c73f07b commit 418870e

9 files changed

Lines changed: 160 additions & 146 deletions

File tree

tutorials/ai-core-consumption-LLM/ai-core-consumption-llm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
parser: v2
33
auto_validation: true
44
time: 45
5-
primary_tag: software-product>sap-business-technology-platform
6-
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform ]
5+
primary_tag: software-product>sap-ai-core
6+
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform, software-product>sap-ai-core ]
77
author_name: Dhrubajyoti Paul
88
author_profile: https://github.com/dhrubpaul
99
---

tutorials/ai-core-genaihub-multimodal-usage/ai-core-genaihub-multimodal-usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
parser: v2
33
auto_validation: true
44
time: 45
5-
primary_tag: software-product>sap-business-technology-platform
6-
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform ]
5+
primary_tag: software-product>sap-ai-core
6+
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-ai-core ]
77
author_name: Smita Naik
88
author_profile: https://github.com/I321506
99
---

tutorials/ai-core-genaihub-prompt-registry/ai-core-genaibub-prompt-registry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
parser: v2
33
auto_validation: true
44
time: 45
5-
primary_tag: software-product>sap-business-technology-platform
6-
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform ]
5+
primary_tag: software-product>sap-ai-core
6+
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-ai-core ]
77
author_name: Smita Naik
88
author_profile: https://github.com/I321506
99
---

tutorials/ai-core-genaihub-provisioning/ai-core-genaihub-provisioning.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,25 +147,26 @@ Get Auth Token:
147147

148148
> **Note:** Refer to the fields such as `url`, `clientid`, `clientsecret`, and `AI_API_URL` in your SAP AI Core service key, and replace the corresponding placeholder values in the curl requests below.
149149
150-
```bash
150+
```
151151
curl --request POST \
152152
--url <replace with the url field from your SAP AI Core service key>/oauth/token \
153153
--header 'Content-Type: application/x-www-form-urlencoded' \
154154
--data grant_type=client_credentials \
155155
--data 'client_id=<replace with the clientid from your service key>' \
156156
--data 'client_secret=<replace with the clientsecret from your service key>'
157-
```
157+
```
158158

159159
From the response, note the value of the `access_token`. You’ll use this token in the next step to `retrieve your deployments` using the following example curl request:
160160

161-
```bash
161+
```
162162
curl --request GET \
163163
--url <replace with the AI_API_URL from your SAP AI Core service key>/v2/lm/deployments \
164164
--header 'AI-Resource-Group: default' \
165165
--header 'Authorization: Bearer <replace with the access_token from get token response>'
166166
```
167167

168168
In the response, search for the deployment where the `configurationName is defaultOrchestrationConfig`, and note the `deploymentUrl` associated with this deployment. The `deploymentUrl` is your `orchestration Url`.
169+
169170
![Get Orchestration Deployment response](img/aicore_get_orchestration_deployment.png)
170171

171172

tutorials/ai-core-gpt4o-consumption/ai-core-gpt4o-consumption.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
parser: v2
33
auto_validation: true
44
time: 45
5-
primary_tag: software-product>sap-business-technology-platform
6-
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform ]
5+
primary_tag: software-product>sap-ai-core
6+
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-ai-core ]
77
author_name: Dhrubajyoti Paul
88
author_profile: https://github.com/dhrubpaul
99
---

tutorials/ai-core-orchestration-consumption-opt/ai-core-orchestration-consumption-opt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
parser: v2
33
auto_validation: true
44
time: 45
5-
primary_tag: software-product>sap-business-technology-platform
6-
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-business-technology-platform ]
5+
primary_tag: software-product>sap-ai-core
6+
tags: [ tutorial>beginner, topic>artificial-intelligence, topic>machine-learning, software-product>sap-ai-core ]
77
author_name: Smita Naik
88
author_profile: https://github.com/I321506
99
---

0 commit comments

Comments
 (0)