Skip to content

Commit 3e6a562

Browse files
committed
Add release notes and clean up
1 parent af8ecda commit 3e6a562

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

docs/release_notes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
- Added `OpenAiChatModel`
2828
- [Prompt Registry] [Using Prompt Registry Templates in SpringAI.](https://sap.github.io/ai-sdk/docs/java/ai-core/prompt-registry#using-templates-in-springai)
2929
- Added `SpringAiConverter`
30-
30+
- [Orchestration] Added embedding generation support with new `OrchestrationClient#embed()` methods.
31+
- Added `OrchestrationEmbeddingModel` with `TEXT_EMBEDDING_3_SMALL`, `TEXT_EMBEDDING_3_LARGE`, `AMAZON_TITAN_EMBED_TEXT` and `NVIDIA_LLAMA_32_NV_EMBEDQA_1B` embedding models.
32+
- Introduced `OrchestrationEmbeddingRequest` for building requests fluently and `OrchestrationEmbeddingResponse#getEmbeddingVectors()` to retrieve embeddings.
33+
3134
### 📈 Improvements
3235

3336
-

orchestration/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@
203203
<useOneOfInterfaces>true</useOneOfInterfaces>
204204
<removeEnumValuePrefix>true</removeEnumValuePrefix>
205205
<useOneOfCreators>true</useOneOfCreators>
206-
<useFloatArrays>true</useFloatArrays>
207206
</additionalProperties>
208207
</configuration>
209208
</execution>

orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationEmbeddingResponse.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* Response wrapper for orchestration embedding operations.
1616
*
1717
* <p>Wraps {@link EmbeddingsPostResponse} and provides convenient access to embedding vectors.
18+
*
19+
* @since 1.11.0
1820
*/
1921
@Beta
2022
@Value

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OrchestrationService.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,8 @@ public OrchestrationChatResponse translation() {
604604
/**
605605
* Create text embeddings using the Orchestration service.
606606
*
607-
* @link <a
608-
* href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/embeddings?locale=en-US">
609-
* AI Core: Orchestration - Embedding
607+
* @link <a href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/embeddings">AI
608+
* Core: Orchestration - Embedding</a>
610609
* @param texts the list of texts to embed
611610
* @return the embedding response object
612611
*/

0 commit comments

Comments
 (0)