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
• SAP Cloud SDK for AI: Uses the `dotenv` library to load environment variables. If you encounter issues with the dotenv library, ensure it is installed correctly by running:
• **IMPORTANT:** The value of `AICORE_SERVICE_KEY` must be a single line, so remove any line breaks from the service key JSON.
97
+
98
+
• This tutorial is designed for a Java [maven project](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html). Add the following dependencies to your project `pom.xml` file:
99
+
100
+
```xml
101
+
<dependency>
102
+
<groupId>com.sap.ai.sdk</groupId>
103
+
<artifactId>core</artifactId>
104
+
<!-- Use the latest version here -->
105
+
<version>${ai-sdk.version}</version>
106
+
</dependency>
107
+
108
+
<dependency>
109
+
<groupId>com.sap.ai.sdk</groupId>
110
+
<artifactId>orchestration</artifactId>
111
+
<!-- Use the latest version here -->
112
+
<version>${ai-sdk.version}</version>
113
+
</dependency>
114
+
```
97
115
98
116
• For other options of access configuration and detailed information on installation and usage of the **SAP Cloud SDK for AI (for Java)**, visit the official [GitHub repository](https://github.com/SAP/ai-sdk-java). This page provides comprehensive steps to set up and integrate the SDK effectively in your projects.
99
117
@@ -256,25 +274,8 @@ orchestrationConfig;
256
274
257
275
[OPTION BEGIN [Java SDK]]
258
276
259
-
In this step, we will create an orchestration configuration using the core module of the [SAP Cloud SDK for Java](https://github.com/SAP/cloud-sdk-java) in a maven project. This configuration integrates various parameters needed for orchestration, such as the executable ID and scenario ID.
260
-
261
-
• Add the following dependencies to your `pom.xml` file:
262
-
263
-
```xml
264
-
<dependency>
265
-
<groupId>com.sap.ai.sdk</groupId>
266
-
<artifactId>core</artifactId>
267
-
<!-- Use the latest version here -->
268
-
<version>${ai-sdk.version}</version>
269
-
</dependency>
277
+
In this step, we will create an orchestration configuration using the core module of the [SAP Cloud SDK for Java](https://github.com/SAP/cloud-sdk-java). This configuration integrates various parameters needed for orchestration, such as the executable ID and scenario ID.
270
278
271
-
<dependency>
272
-
<groupId>com.sap.ai.sdk</groupId>
273
-
<artifactId>orchestration</artifactId>
274
-
<!-- Use the latest version here -->
275
-
<version>${ai-sdk.version}</version>
276
-
</dependency>
277
-
```
278
279
• Add the following code to your project to create an orchestration configuration:
0 commit comments