Skip to content

Release 1.17.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Mar 11:14

Release Notes

🔧 Compatibility Notes

  • Changes to existing generated API in the Prompt Registry module.
    Generated methods now take additional (nullable) arguments.
    See full changelog for all details.

  • Minor changes to generated API of SAP Grounding Service.

      var chunkMeta;
      var docMeta;
      var chunk =
    -   TextOnlyBaseChunk.create().content("Luna is the Latin word for moon.").metadata(chunkMeta);
    +   TextOnlyBaseChunkCreate.create().content("Luna is the Latin word for moon.").addMetadataItem(chunkMeta);
    
    - BaseDocument.create().chunks(chunk).metadata(docMeta);
    + BaseDocument.create().chunks(chunk).addMetadataItem(docMeta);

✨ New Functionality

  • [Grounding] Added GroundingClient.withHeader().
  • [Orchestration] Added GPT_52 model for OrchestrationAiModel.
  • [OpenAi] Added GPT_52 model from OpenAiModel.
  • [Orchestration] Added GEMINI_EMBEDDING model for OrchestrationEmbeddingModel.
  • [Orchestration] Added citations for Perplexity SONAR model in client.chatCompletion().getOriginalResponse().getFinalResult().getCitations()

📈 Improvements

  • [Orchestration] Added new API TranslationConfig#applyToPlaceholders and TranslationConfig#applyToTemplateRoles to support partial translation for a message.
  • [RPT] RptClient.tableCompletion() GZIP compresses the request payload.

What's Changed

  • chore: [DevOps] bump the test group with 3 updates by @dependabot[bot] in #764
  • feat: [Grounding] Added GroundingClient.withHeader() by @CharlesDuboisSAP in #767
  • chore: Fix REUSE status badge link in README.md by @newtork in #769
  • feat: [DevOps] Update document-grounding specification by @bot-sdk-js in #734
  • chore: Evaluate @Beta tags by @Jonas-Isr in #761
  • chore: [DevOps] bump actions/upload-artifact from 6 to 7 in the github-actions group by @dependabot[bot] in #774
  • chore: [DevOps] bump org.apache.hadoop:hadoop-common from 3.4.2 to 3.4.3 in the test group by @dependabot[bot] in #772
  • chore: [DevOps] bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.4 to 3.5.5 in the plugins group by @dependabot[bot] in #771
  • chore: [DevOps] Add Jackson to dependabot ignore list by @rpanackal in #775
  • chore: [Grounding] Revert "feat (DevOps) Update document-grounding specification" by @newtork in #770
  • chore: [DevOps] bump the production-minor-patch group with 8 updates by @dependabot[bot] in #776
  • fix: [RPT] expected number of rows in RptTest by @CharlesDuboisSAP in #778
  • chore: [DevOps] Add PMD rules for public API exposure of model types by @Jonas-Isr in #777
  • feat: support partial translation via apply_to array by @n-o-u-r-h-a-n in #768
  • chore: [DevOps] bump the test group with 2 updates by @dependabot[bot] in #780
  • chore: update models list by @n-o-u-r-h-a-n in #783
  • feat: [RPT] GZIP encoding by @CharlesDuboisSAP in #779
  • chore: [DevOps] bump the production-minor-patch group with 5 updates by @dependabot[bot] in #784
  • chore: [Grounding] Reintroduce document-grounding specification update by @rpanackal in #787
  • feat: [Orchestration] Sample code and test citations by @CharlesDuboisSAP in #788
  • fix: [PromptRegistry] oneOf deserialization for proper support of both template types by @n-o-u-r-h-a-n in #789
  • chore: [DevOps] bump the test group with 2 updates by @dependabot[bot] in #791
  • chore: [DevOps] bump the production-minor-patch group with 10 updates by @dependabot[bot] in #790
  • feat: [DevOps] Update prompt-registry specification by @bot-sdk-js in #793
  • chore: [DevOps] bump the production-minor-patch group with 11 updates by @dependabot[bot] in #796
  • chore: Duplicate spec update workflow by @marikaner in #798
  • chore: [DevOps] bump the test group with 2 updates by @dependabot[bot] in #797
  • chore: Fix E2E test (Content Filtering) by @Jonas-Isr in #799

New Contributors

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