Skip to content

Latest commit

 

History

History
87 lines (58 loc) · 3.73 KB

release-notes-0-to-14.md

File metadata and controls

87 lines (58 loc) · 3.73 KB

1.3.0 - February 13, 2025

All Release Changes

🔧 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

1.2.0 - January 30, 2025

All Release Changes

🔧 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)

1.1.0 - January 07, 2025

All Release Changes

🔧 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

1.0.0 - December 03, 2024

All Release Changes

✨ 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.

Warning

All model classes are generated or depend on changing specifications. This means that model classes are not stable and may change in the future.