Releases: SAP/ai-sdk-js
Releases · SAP/ai-sdk-js
v1.12.0
Compatibility Notes
- [langchain] Use
LangchainOrchestrationModuleConfig
to type the configuration object passed to the LangChain orchestration client. (5360c8c)
New Features
- [orchestration] Add support for passing a YAML specification as a string to the
templating
property inOrchestrationModuleConfig
. (5360c8c)
v1.11.0
Compatibility Notes
- [core] Removed deprecated models:
text-embedding-ada-002
, usetext-embedding-3-small
ortext-embedding-3-large
instead.meta--llama3-70b-instruct
, usemeta--llama3.1-70b-instruct
instead.gpt-35-turbo
, usegpt-4o-mini
instead.gpt-35-turbo-16k
, usegpt-4o-mini
instead.gpt-4-32k
, usegpt-4o
instead. (627a152)
New Functionality
- [langchain] Support using data masking in LangChain orchestration client. (3f8bd81)
- [langchain] Support using content filtering in LangChain orchestration client. (e1f2b5a)
- [orchestration] Introduce
buildDpiMaskingProvider()
convenience function to build masking providerSAP Data Privacy Integration
. (a8d05b0) - [orchestration] Support setting
metadata_params
property inbuildDocumentGroundingConfig()
convenience function. (264c5b0)
v1.10.0
v1.9.0
Compatibility Notes
- [core] Due to the introduction of
ErrorWithCause
,AxiosError
is now wrapped inside thecause
property.
For example, useerror.cause.response.data
instead oferror.response.data
to access the error response from the server. (bfed500)
New Features
- [langchain] Add LangChain Orchestration client. (a45dc06)
- [orchestration] Introduce
buildLlamaGuardFilter()
convenience function to build Llama guard filters. (bc51f59)
Fixed Issues
- [ai-api, core] Add missing cause in the error object for failing HTTP requests by using
ErrorWithCause
, providing more context for debugging.
Improvements
- [orchestration] Update Orchestration to 2502b Release (84175fb)
v1.8.0
Compatibility Notes
- [ai-api] Update AI API spec to 2501b release.
ThekubesubmitV4GenericSecretsGet
function is renamed tokubesubmitV4GenericSecretsGetAll
. (1731104) - [orchestration] Deprecate
buildAzureContentFilter()
function.
UsebuildAzureContentSafetyFilter()
function instead. (54a9044) - [orchestration] Update Orchestration to 2502a Release (2c76a1f)
New Functionalities
- [orchestration] Support configuring data masking for grounding inputs. (16d97ab)
- [orchestration] Support using prompt registry with orchestration client. (5c248a1)
Fixed Issues
v1.7.0
Compatibility Notes
- [orchestration] Update Orchestration API to the 2501a release.
As part of this change, themodelsGet
method ofScenarioAPI
has been renamed toscenarioQueryModels
. (0a62553)
New Functionalities
- [orchestration] Support using
help.sap.com
as data repository type in the grounding module. (f08ac2e) - [orchestration] Add
streaming
option in theOrchestrationModuleConfig
type to set global streaming options. (bdaae7e)
Fixed Issues
v1.6.0
New Functionality
- [orchestration] Support image recognition for orchestration service. (1da2caa)
- [orchestration] Add support for streaming in the orchestration client. (d836abf)
Improvements
- [orchestration] Make
model_params
property in theLlmModuleConfig
optional and refine the type definition to also include known properties. (1476584) - [orchestration] Add
buildDocumentGroundingConfig()
convenience function to create document grounding configuration in the Orchestration client. (a039890)
v1.5.0
New Functionalities
- [ai-api, core, foundation-models, langchain, orchestration] Add support for providing custom destination for AI Core besides using environment variable and service binding. (b4a5506)
- [document-grounding] Add a new package
@sap-ai-sdk/document-grounding
for consuming vector, pipeline and retrieval APIs from document grounding service. This package is still in beta and is subject to breaking changes. Use it with caution. (4425bfd) - [orchestration] Add support for using a JSON configuration obtained from AI Launchpad to consume orchestration service. (17a1eea)
v1.4.0
v1.3.0
Compatibility Notes
- [orchestration] Switch some of the orchestration interfaces to types, as they were introduced by accident.
- [orchestration] Remove
grounding
key from the typeModuleResults
. (6fe32b8) - [orchestration]
FilteringConfig
type has been renamed toInputFilteringConfig
andOutputFilteringConfig
for future extensibility. (bf17e17)
Fixed Issues
- [foundation-models, orchestration] Get choice via index by comparing the
index
property instead of using array index.- @sap-ai-sdk/[email protected]
- @sap-ai-sdk/[email protected] (91df549)
- [orchestration] Fix input and output filters to disallow additional properties as part of the filter config.