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
• [Create a service key](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-service-key) for your AI Core instance and copy the JSON object.
89
89
90
-
• Create a `.env` file in the **working directory** from which you run the code. Add the following line using the copied JSON:
90
+
• Create a `.env` file in the **working directory from which you run the code**. Add the following line using the copied JSON:
The value of `AICORE_SERVICE_KEY` must be a single line, so remove any line breaks from the service key JSON.
97
97
98
-
• 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
99
-
[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.
98
+
• 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.
100
99
101
100
[OPTION END]
102
101
@@ -349,7 +348,7 @@ orchestrationConfig;
349
348
350
349
[OPTION BEGIN [Java SDK]]
351
350
352
-
In this step, we will create an orchestration configuration using the core module of the SAP Cloud SDK for Java in a maven project. This configuration integrates various parameters needed for orchestration, such as the executable ID and scenario ID.
351
+
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.
353
352
354
353
• Add the following dependencies to your `pom.xml` file:
355
354
@@ -564,7 +563,7 @@ export async function deployOrchestration(
564
563
565
564
[OPTION BEGIN [Java SDK]]
566
565
567
-
In this step, we will create a deployment from the configuration created in the last step using the core module of the SAP Cloud SDK for Java.
566
+
In this step, we will create a deployment from the configuration created in the previous step using the core module of the [SAP Cloud SDK for Java](https://github.com/SAP/cloud-sdk-java).
568
567
569
568
• Add the following code to your project to create an orchestration deployment:
570
569
@@ -1059,9 +1058,10 @@ Data masking and content filtering are available to enhance data privacy and saf
1059
1058
1060
1059
[OPTION BEGIN [Java SDK]]
1061
1060
1062
-
In this step, we will consume an LLM through the orchestration service with the created deployment, using the core and orchestration module of the SAP Cloud SDK for Java.
1061
+
In this step, we will consume an LLM through the orchestration service with the created deployment, using the core and orchestration module of the [SAP Cloud SDK for Java](https://github.com/SAP/cloud-sdk-java).
1062
+
1063
+
To begin the consumption process, follow the steps below:
1063
1064
1064
-
To begin the consumption process for the orchestration you’ve deployed, follow the steps below:
1065
1065
1066
1066
**Prepare the CV File**
1067
1067
@@ -1113,15 +1113,15 @@ We can define model parameters and a list of models to use. Only use those model
1113
1113
1114
1114
// Map of model parameters, can be adapted if desired
1115
1115
Map<String, Object> modelParams =Map.of(
1116
-
"max_tokens", 1000,
1117
-
"temperature", 0.6
1116
+
"max_tokens", 1000,
1117
+
"temperature", 0.6
1118
1118
);
1119
1119
1120
1120
// List of models to iterate through, can be adapted if desired
0 commit comments