Release 1.10.0
What's Changed
🔧 Compatibility Notes
- The Spring AI version has been increased from
1.0.0-M6to the GA release1.0.0.- The
OrchestrationChatOptionshave been, replacing all references toFunctionCallbackwithToolCallback. - Please follow the official Spring AI upgrade guide for further details.
- The
@Betaannotations on all classes related to Spring AI have been removed.
- The
- [Orchestration] The
completionendpoint have been moved to the latest version/v2/completionLLMModuleConfigis replaced byLLMModelDetailsinwithLLmConfigmethod ofOrchestrationModuleConfigclass.PromptTemplatingModuleConfigPromptreplacesTemplatingModuleConfigin thewithTemplateConfigmethod ofOrchestrationModuleConfigclass.- The generated model classes will reflect payload updates including restructuring of the module configurations and renaming of several fields.
- [Document Grounding] Breaking: The
messagefield inRetrievalPerFilterSearchResultWithErroris replaced byerrorandfilterIdwith more specific error details. - [Document Grounding] Extensive generated model class renaming for better specificity due to API spec changes.
SearchResults→VectorSearchResultsKeyValueListPairsplit into context-specific classes:VectorKeyValueListPairfor vector operationsRetrievalKeyValueListPairfor retrieval operationsVectorDocumentKeyValueListPairfor vector document operationsRetrievalDocumentKeyValueListPairfor retrieval document operations
Chunk→VectorChunkandRetrievalChunkfor different contextsSearchFilter→VectorSearchFilterandRetrievalSearchFilterSearchConfiguration→VectorSearchConfigurationandRetrievalSearchConfiguration
✨ New Functionality
- [Core] Added
ClientExceptionFactoryinterface to provide custom exception mapping logic for different service clients. - Extend
OpenAiClientExceptionandOrchestrationClientExceptionto retrieve error diagnostics information received from remote service usinggetErrorResponse. - [Orchestration] Introduced filtering related exceptions along with convenience methods to obtain additional contextual information.
OrchestrationInputFilterExceptionfor prompt filtering andOrchestrationOutputFilterExceptionfor response filtering.getFilterDetails(): Returns a map of all filter details.getAzureContentSafetyInput()andgetAzureContentSafetyInput(): Returns Azure Content Safety filter scoresgetLlamaGuard38b(): Returns LlamaGuard filter scores
- [Document Grounding] Extend
PipelineApioperations, notably:- Added new pipeline creation requests for SDM and WorkZone with
SDMPipelineCreateRequestandWorkZonePipelineCreateRequest. - S3 and SFTP pipeline configurations extended with
S3ConfigurationandSFTPConfigurationfor including data sources. - Support
/pipelines/triggerendpoint to trigger pipelines on-demand viaPipelinesApi#manualTriggerPipeline().
- Added new pipeline creation requests for SDM and WorkZone with
📈 Improvements
- Update AI Core client to 2.40.1
- [Document Grounding] Enhanced pipeline status reporting with additional metadata such as
createdAt,modifiedAt,lastCompletedAt.
🐛 Fixed Issues
- OpenAi: Fix AssistantMessage Bug by now being able to send Assistant Messages using our API Client.
All Commits
click to expand
- fix: Grounding
getAllPipelinesnow does not throw anymore by @Jonas-Isr in #509 - chore: Align Document Grounding Pipeline Identifier with JS by @MatKuhr in #512
- feat: Upgrade to Spring AI 1.0.0 (GA Version) by @MatKuhr in #503
- fix: Fix
dependency treefield in bug-report.yml by @Jonas-Isr in #510 - chore: [DevOps] bump the plugins group with 5 updates by @dependabot[bot] in #517
- chore: [DevOps] bump the production-minor-patch group with 14 updates by @dependabot[bot] in #516
- fix: Bug OpenAI AssistantMessage by @n-o-u-r-h-a-n in #511
- chore: [OpenAI] Temporarily disable failing OpenAi model integration test by @newtork in #521
- chore: [DevOps] bump slackapi/slack-github-action from 2.1.0 to 2.1.1 in the github-actions group by @dependabot[bot] in #522
- chore: [DevOps] bump the production-minor-patch group with 3 updates by @dependabot[bot] in #524
- chore: [DevOps] bump the plugins group with 2 updates by @dependabot[bot] in #525
- feat: Sample Code for MCP Support by @MatKuhr in #513
- feat: [DevOps] Update core specification by @bot-sdk-js in #446
- feat: [Orchestration] Filtering details and additional convenience on exception by @rpanackal in #497
- fix: [Orchestration] V2 spec update by @rpanackal in #482
- feat: [OpenAI] Sample code for Agentic Workflow tutorial by @Jonas-Isr in #466
- chore: [DevOps] Latest Grounding spec update check by @rpanackal in #518
Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.10.0