Skip to content

Releases: SAP/ai-sdk-java

Release 1.5.0

13 Mar 14:00
Compare
Choose a tag to compare

What's Changed

✨ New Functionality

All Commits

click to expand

New Contributors

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.5.0

Release 1.4.0

28 Feb 13:39
Compare
Choose a tag to compare

What's Changed

🔧 Compatibility Notes

  • [Orchestration] The constructors UserMessage(MessageContent) and SystemMessage(MessageContent) are removed. Use Message.user(String), Message.user(ImageItem), or Message.system(String) instead.
  • Deprecate getCustomField(String) in favor of toMap() on generated model classes.
    • com.sap.ai.sdk.core.model.*
    • com.sap.ai.sdk.orchestration.model.*

✨ New Functionality

  • [Orchestration] Add Spring AI tool calling.
  • [Orchestration] Add new convenient methods to set the response format for Orchestration.
  • [Document Grounding] Add Document Grounding Client
    • com.sap.ai.sdk:document-grounding:1.4.0
  • [OpenAI] New generated model classes introduced for AzureOpenAI specification dated 2024-10-21.
  • [OpenAI] Introducing new user interface for chat completion wrapping the generated model classes.
    • OpenAiChatCompletionRequest and OpenAiChatCompletionResponse' for high level request and response handling.
    • OpenAiUserMessage, OpenAiSystemMessage, OpenAiAssistantMessage and OpenAiToolMessage for message creation for different content types.
    • OpenAiToolChoice for configuring chat completion requests with tool selection strategy.
  • [OpenAI] Introducing new user interface for embedding calls using OpenAiEmbeddingRequest and OpenAiEmbeddingResponse.

All Commits

click to expand
  • chore: Improve Connecitivtiy Docs by @MatKuhr in #332
  • fix: [Orchestration] Hide constructors for System- and UserMessage by @Jonas-Isr in #334
  • feat: [OpenAI] Generated model classes for OpenAI client by @rpanackal in #322
  • chore: [DevOps] bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.6 to 4.9.1.0 in the plugins group by @dependabot in #337
  • chore: [DevOps] bump org.wiremock:wiremock from 3.11.0 to 3.12.0 in the production-minor-patch group by @dependabot in #336
  • fix: [DevOps] Dependency vulnerability scan to 12.1.0 by @CharlesDuboisSAP in #338
  • feat: [OpenAI] Stable convenience - Latest by @rpanackal in #323
  • chore: [DevOps] enforce Spring AI optional by @CharlesDuboisSAP in #339
  • chore: better header documentation by @CharlesDuboisSAP in #344
  • feat: Spring AI🍃Tool Calling by @CharlesDuboisSAP in #320
  • chore: [DevOps] Update Cloud SDK to 5.17.0 by @CharlesDuboisSAP in #342
  • chore: [DevOps] bump the plugins group with 2 updates by @dependabot in #346
  • chore: [DevOps] bump the production-minor-patch group with 4 updates by @dependabot in #345
  • feat: (Grounding) Initial client classes with generated API and model by @newtork in #317
  • feat: [OpenAI] Integrate Messaging Convenience by @rpanackal in #326
  • fix: Disable test regarding model availability by @Jonas-Isr in #349
  • feat: [OpenAI] Tool Choice Convenience by @rpanackal in #330
  • fix: Update docs by @CharlesDuboisSAP in #347
  • chore: Enable E2E test for OpenAI models by @newtork in #350
  • chore: Rename grounding to document-grounding by @newtork in #352
  • feat: [OpenAI] Embedding Request Convenience by @rpanackal in #331
  • chore: Consolidate OpenAI convenience methods to set tool-choice by @newtork in #351
  • feat: PoC 📚 Prompt Registry client by @rpanackal in #343
  • fix: prompt-registry parent pom declaration - release "no" by @newtork in #355
  • chore: [OpenAI] Embedding type change to float[] by @rpanackal in #353
  • docs: [OpenAI] Update documentation and release notes for new api by @rpanackal in #354
  • chore: [OpenAI] Beta tag on toolChoice conv with equals and hashcode by @rpanackal in #358
  • fix: Update model lists and model availability test by @TillK17 in #348
  • feat: [Orchestration] Convenience for response format by @Jonas-Isr in #341
  • fix: Align release notes with JS SDK by @Jonas-Isr in #360

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.4.0

Release 1.3.0

13 Feb 13:54
Compare
Choose a tag to compare

What's Changed

🔧 Compatibility Notes

  • Message.content() returns a ContentItem now instead of a String. Use ((TextItem) Message.content().items().get(0)).text() if the corresponding ContentItem is a TextItem and the string representation is needed.

✨ New Functionality

All Commits

click to expand

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.3.0

Release 1.2.0

30 Jan 10:15
Compare
Choose a tag to compare

🔧 Compatibility Notes

  • SingleChatMessage, as well as new MultiChatMessage, are now subtypes of new interface ChatMessage.
    Most variables or methods previously typed as ChatMessage in model package are now typed as SingleChatMessage.
  • Add missing @Beta annotations to all com.sap.ai.sdk.core.client and com.sap.ai.sdk.core.model classes.

✨ New Functionality

  • New Orchestration features:
    • Spring AI integration
    • Add Grounding configuration convenience
    • Images are now supported as input in newly introduced MultiChatMessage.
    • MultiChatMessage also allows for multiple content items (text or image) in one object.
    • Grounding input can be masked with DPIConfig.
    • LLama Guard can now be used for content filtering.
    • Support for tool calling and response format
    • Updated the list for supported models (e.g., added amazon nova models).

📈 Improvements

  • Update Orchestration client to version 0.48.2 (2501a)

All Commits

click to expand
  • Reduce duplication of StreamingResponseHandlers by @CharlesDuboisSAP in #258
  • Fix release script by @CharlesDuboisSAP in #265
  • [Sample App] Content filtering demo by @rpanackal in #256
  • chore: [Documentation] Add Disclaimer for Model Classes and Improve Connectivity Guide by @MatKuhr in #268
  • chore(core): Add unit test for ClientResponseHandler class by @newtork in #251
  • [Doc] For request/parameter objects, use var instead of type by @newtork in #236
  • chore: [DevOps] bump the plugins group with 2 updates by @dependabot in #272
  • fix: [Core] Add Missing Beta Annotations by @MatKuhr in #275
  • fix: Add actual messages to AI Core endpoints in sample app by @Jonas-Isr in #270
  • feat: [Orchestration] Spec update 12a by @TillK17 in #267
  • docs: [DevOps] Update Release Strategy ADR by @MatKuhr in #274
  • test: [Orchestration] Success scenarios for PolymorphicFallbackDeserializer by @rpanackal in #279
  • chore: [DevOps] Slack Notification for Snapshot Deployment Job by @MatKuhr in #277
  • chore [Orchestration]: Update of available model list by @TillK17 in #280
  • chore: [DevOps] PR Title Linter by @MatKuhr in #273
  • test: [Orchestration] Extend Grounding Unit Test by @rpanackal in #281
  • feat: [Orchestration] Spring AI integration by @CharlesDuboisSAP in #278
  • feat: [DevOps] Update orchestration Specification to 0.48 by @bot-sdk-js in #285
  • chore: [DevOps] Automation to Update Spec Files by @MatKuhr in #282
  • chore: [DevOps] bump com.diffplug.spotless:spotless-maven-plugin from 2.44.1 to 2.44.2 in the plugins group by @dependabot in #288
  • chore: [DevOps] bump org.assertj:assertj-core from 3.27.2 to 3.27.3 in the production-minor-patch group by @dependabot in #287
  • chore: [DevOps] Switch From Temurin to SapMachine by @skateball in #286
  • fix: Add Spring AI Dependency Requirements to the Docs by @MatKuhr in #291
  • feat: Spring AI Orchestration streaming by @CharlesDuboisSAP in #292
  • chore: [DevOps] Minor Spec Update Job Improvements by @MatKuhr in #299
  • ci: Fix jacoco coverage by @TillK17 in #296
  • chore: [DevOps] bump org.openapitools:openapi-generator-maven-plugin from 7.10.0 to 7.11.0 in the plugins group by @dependabot in #302
  • chore: [DevOps] bump com.puppycrawl.tools:checkstyle from 10.21.1 to 10.21.2 in the production-minor-patch group by @dependabot in #301
  • feat: Orchestration Grounding convenience by @CharlesDuboisSAP in #293
  • fix: release_notes.md by @CharlesDuboisSAP in #304
  • fix: Fosstars badge by @CharlesDuboisSAP in #303
  • feat: Update model list for orchestration by @jjtang1985 in #307
  • fix: Removed Javascript from Spring application by @CharlesDuboisSAP in #306
  • fix: Spring AI consistent behaviour with Orchestration streaming by @CharlesDuboisSAP in #309
  • chore: Update Cloud SDK to version 5.16.0 by @Jonas-Isr in #310

New Contributors

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.2.0

Release 1.1.0

07 Jan 08:30
Compare
Choose a tag to compare

Version 1.1.0 mainly brings enhancements for the Orchestration service, including streaming support.

🔧 Compatibility Notes

  • Changed return type of List<Double> getEmbedding() from experimental API OpenAiEmbeddingData to float[] to match recent Spring AI change.

✨ New Functionality

  • Added streamChatCompletion() and streamChatCompletionDeltas() to the OrchestrationClient.

📈 Improvements

  • Update AI Core client to 2.37.0

All Commits

click to expand

New Contributors

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.1.0

Release 1.0.0

03 Dec 23:27
Compare
Choose a tag to compare

✨ New Functionality

  • Introduce AI Core client to consume the AI Core Rest APIs.
    Here are a few features:
    • Artifact management: register and organize datasets and model artifacts.
    • Configuration management: set up configurations for various models and use cases.
    • Deployment management: deploy AI models and manage their lifecycle within SAP AI Core.
  • Introduce Orchestration client for consuming the following features of the orchestration service:
    • Harmonized LLM access via orchestration
    • Prompt templates
    • Content filtering
    • Masking
  • Introduce the OpenAI client to consume the following features:
    • Chat completion and streaming chat completion
      • Text
      • Images
      • Tools
    • Generate embeddings for input text.

All Commits

click to expand

New Contributors

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.0.0

Release 0.2.0

19 Nov 12:30
Compare
Choose a tag to compare
Release 0.2.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/0.2.0

Release 0.1.0

18 Oct 09:56
Compare
Choose a tag to compare
Release 0.1.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/0.1.0