Skip to content

Commit 66bd11f

Browse files
committed
Merge branch 'main' into feat/orchestration/embedding-conv
# Conflicts: # docs/release_notes.md # sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/OrchestrationTest.java
2 parents 8e0cd53 + b79da3b commit 66bd11f

File tree

93 files changed

+15167
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+15167
-331
lines changed

.github/workflows/spec-update.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
FILE_PATH='orchestration/src/main/resources/spec/orchestration.yaml'
8888
;;
8989
prompt-registry)
90-
API_URL="$API_BASE_URL/AI/prompt-registry/contents/src/spec/prompt-registry.yaml?ref=$REF"
90+
API_URL="$API_BASE_URL/AI/prompt-registry/contents/src/spec/generated/prompt-registry-combined.yaml?ref=$REF"
9191
FILE_PATH='core-services/prompt-registry/src/main/resources/spec/prompt-registry.yaml'
9292
;;
9393
esac
@@ -105,16 +105,11 @@ jobs:
105105
echo "spec_diff=false" >> "$GITHUB_OUTPUT"
106106
fi
107107
108-
- name: "Install Baseline SDK Version"
109-
# this is needed as otherwise "process sources" will fail on e.g. orchestration module, if the core module isn't in the maven cache
110-
run: |
111-
mvn install -DskipTests
112-
113108
- name: "Generate"
114109
id: generate
115110
if: steps.spec_diff.outputs.spec_diff == 'true'
116111
run: |
117-
mvn process-sources -Dgenerate ${{ env.MVN_MULTI_THREADED_ARGS }}
112+
mvn install -DskipTests -Dgenerate ${{ env.MVN_MULTI_THREADED_ARGS }}
118113
119114
- name: "Compile and Test"
120115
id: compile

core-services/document-grounding/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.11.0-SNAPSHOT</version>
7+
<version>1.12.0-SNAPSHOT</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<artifactId>document-grounding</artifactId>

core-services/prompt-registry/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.sap.ai.sdk</groupId>
66
<artifactId>sdk-parent</artifactId>
7-
<version>1.11.0-SNAPSHOT</version>
7+
<version>1.12.0-SNAPSHOT</version>
88
<relativePath>../../pom.xml</relativePath>
99
</parent>
1010
<artifactId>prompt-registry</artifactId>

core-services/prompt-registry/src/main/java/com/sap/ai/sdk/prompt/registry/client/OrchestrationConfigsApi.java

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ public OrchestrationConfigsApi(@Nonnull final ApiClient apiClient) {
5757
*
5858
* <p><b>200</b> - Successful response
5959
*
60-
* <p><b>403</b> - Forbidden Error
61-
*
6260
* <p><b>400</b> - Bad Request
6361
*
62+
* <p><b>403</b> - Forbidden Error
63+
*
6464
* <p><b>0</b> - Common Error
6565
*
6666
* @param orchestrationConfigPostRequest (required) The value for the parameter
@@ -83,7 +83,7 @@ public OrchestrationConfigPostResponse createUpdateOrchestrationConfig(
8383
}
8484

8585
final String localVarPath =
86-
UriComponentsBuilder.fromPath("/lm/orchestrationConfigs").build().toUriString();
86+
UriComponentsBuilder.fromPath("/registry/v2/orchestrationConfigs").build().toUriString();
8787

8888
final MultiValueMap<String, String> localVarQueryParams =
8989
new LinkedMultiValueMap<String, String>();
@@ -121,10 +121,10 @@ public OrchestrationConfigPostResponse createUpdateOrchestrationConfig(
121121
*
122122
* <p><b>200</b> - Successful response
123123
*
124-
* <p><b>403</b> - Forbidden Error
125-
*
126124
* <p><b>400</b> - Bad Request
127125
*
126+
* <p><b>403</b> - Forbidden Error
127+
*
128128
* <p><b>0</b> - Common Error
129129
*
130130
* @param orchestrationConfigPostRequest The value for the parameter
@@ -144,10 +144,10 @@ public OrchestrationConfigPostResponse createUpdateOrchestrationConfig(
144144
*
145145
* <p><b>200</b> - Successful response
146146
*
147-
* <p><b>404</b> - Bad Request
148-
*
149147
* <p><b>403</b> - Forbidden Error
150148
*
149+
* <p><b>404</b> - Bad Request
150+
*
151151
* <p><b>0</b> - Common Error
152152
*
153153
* @param orchestrationConfigId (required) The value for the parameter orchestrationConfigId
@@ -171,7 +171,7 @@ public OrchestrationConfigDeleteResponse deleteOrchestrationConfig(
171171
final Map<String, Object> localVarPathParams = new HashMap<String, Object>();
172172
localVarPathParams.put("orchestrationConfigId", orchestrationConfigId);
173173
final String localVarPath =
174-
UriComponentsBuilder.fromPath("/lm/orchestrationConfigs/{orchestrationConfigId}")
174+
UriComponentsBuilder.fromPath("/registry/v2/orchestrationConfigs/{orchestrationConfigId}")
175175
.buildAndExpand(localVarPathParams)
176176
.toUriString();
177177

@@ -211,10 +211,10 @@ public OrchestrationConfigDeleteResponse deleteOrchestrationConfig(
211211
*
212212
* <p><b>200</b> - Successful response
213213
*
214-
* <p><b>404</b> - Bad Request
215-
*
216214
* <p><b>403</b> - Forbidden Error
217215
*
216+
* <p><b>404</b> - Bad Request
217+
*
218218
* <p><b>0</b> - Common Error
219219
*
220220
* @param orchestrationConfigId The value for the parameter orchestrationConfigId
@@ -257,7 +257,8 @@ public File exportOrchestrationConfig(
257257
final Map<String, Object> localVarPathParams = new HashMap<String, Object>();
258258
localVarPathParams.put("orchestrationConfigId", orchestrationConfigId);
259259
final String localVarPath =
260-
UriComponentsBuilder.fromPath("/lm/orchestrationConfigs/{orchestrationConfigId}/export")
260+
UriComponentsBuilder.fromPath(
261+
"/registry/v2/orchestrationConfigs/{orchestrationConfigId}/export")
261262
.buildAndExpand(localVarPathParams)
262263
.toUriString();
263264

@@ -347,7 +348,7 @@ public OrchestrationConfigGetResponse getOrchestrationConfigByUuid(
347348
final Map<String, Object> localVarPathParams = new HashMap<String, Object>();
348349
localVarPathParams.put("orchestrationConfigId", orchestrationConfigId);
349350
final String localVarPath =
350-
UriComponentsBuilder.fromPath("/lm/orchestrationConfigs/{orchestrationConfigId}")
351+
UriComponentsBuilder.fromPath("/registry/v2/orchestrationConfigs/{orchestrationConfigId}")
351352
.buildAndExpand(localVarPathParams)
352353
.toUriString();
353354

@@ -427,7 +428,9 @@ public OrchestrationConfigPostResponse importOrchestrationConfig(
427428
final Object localVarPostBody = null;
428429

429430
final String localVarPath =
430-
UriComponentsBuilder.fromPath("/lm/orchestrationConfigs/import").build().toUriString();
431+
UriComponentsBuilder.fromPath("/registry/v2/orchestrationConfigs/import")
432+
.build()
433+
.toUriString();
431434

432435
final MultiValueMap<String, String> localVarQueryParams =
433436
new LinkedMultiValueMap<String, String>();
@@ -546,7 +549,7 @@ public OrchestrationConfigListResponse listOrchestrationConfigHistory(
546549
localVarPathParams.put("model_name", modelName);
547550
final String localVarPath =
548551
UriComponentsBuilder.fromPath(
549-
"/lm/scenarios/{scenario}/orchestrationConfigs/{name}/versions/{version}/models/{model_name}/history")
552+
"/registry/v2/scenarios/{scenario}/orchestrationConfigs/{name}/versions/{version}/models/{model_name}/history")
550553
.buildAndExpand(localVarPathParams)
551554
.toUriString();
552555

@@ -651,7 +654,7 @@ public OrchestrationConfigListResponse listOrchestrationConfigs(
651654
final Object localVarPostBody = null;
652655

653656
final String localVarPath =
654-
UriComponentsBuilder.fromPath("/lm/orchestrationConfigs").build().toUriString();
657+
UriComponentsBuilder.fromPath("/registry/v2/orchestrationConfigs").build().toUriString();
655658

656659
final MultiValueMap<String, String> localVarQueryParams =
657660
new LinkedMultiValueMap<String, String>();

0 commit comments

Comments
 (0)