Skip to content

Releases: SAP/ai-sdk-js

v1.5.0

07 Jan 14:07
Compare
Choose a tag to compare

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

10 Dec 15:35
Compare
Choose a tag to compare

New Functionality

  • [foundation-models] Add support for streaming chat completion in the Azure OpenAI client. (d79cee8)
  • [orchestration] Add support for grounding capabilities of the orchestration service. (d79cee8)

v1.3.0

15 Nov 11:04
Compare
Choose a tag to compare

Compatibility Notes

  • [orchestration] Switch some of the orchestration interfaces to types, as they were introduced by accident.
  • [orchestration] Remove grounding key from the type ModuleResults. (6fe32b8)
  • [orchestration] FilteringConfig type has been renamed to InputFilteringConfig and OutputFilteringConfig for future extensibility. (bf17e17)

Fixed Issues

  • [foundation-models, orchestration] Get choice via index by comparing the index property instead of using array index.
  • [orchestration] Fix input and output filters to disallow additional properties as part of the filter config.

v1.2.0

25 Oct 13:35
Compare
Choose a tag to compare

Compatibility Notes

  • [foundation-models] Adjust AzureOpenAiEmbeddingOutput type to include multiple embedding responses as opposed to one. (99498cd)

New Functionality

  • [foundation-models] Add convenience method to access all embeddings in an Azure OpenAI response (AzureOpenAiEmbeddingResponse). (99498cd)

Fixed Issues

  • [langchain] Fix performance issues when creating embeddings for split documents by sending all documents in one request instead of splitting it up in separate requests. (99498cd)

v1.1.0

04 Oct 14:56
Compare
Choose a tag to compare

Compatibility Notes

  • [ai-api] Move modelsGet() from ModelApi to ScenarioApi, and remove ModelAPI. (5bd2e4d)

New Functionality

  • [orchestration] Add support for the data masking capabilities of the orchestration service. (a1105d9)

Improvements

  • [ai-api] Add kubesubmitV4ResourceQuotaGetDeploymentQuota() function in DeploymentApi to get details about quota and usage for deployments. Additionally introduce two new types BckndDeploymentQuotaItem and BckndDeploymentResourceQuotaResponse. (5bd2e4d)

Fixed Issues

  • [ai-api] Fix AiExecutionModificationResponseList type to correctly represent an array of responses or errors. (5bd2e4d)
  • [ai-api, core, foundation-models, langchain, orchestration] Fix sending the correct resource group headers when custom resource group is set. (771f986)
  • [ai-api, core, foundation-models, langchain, orchestration] Fix missing and unused dependencies. (506a1e4)
  • [foundation-models] Fix index-based data access in embedding response. Previously, the 0th index data was always returned. (3cbfdc7)
  • [langchain] Fix auto completion for Azure OpenAI Embedding models. (5a977da)
  • [langchain] Fix LangChain types for proper IDE auto completion. (8cda2de)

v1.0.0

19 Sep 17:18
Compare
Choose a tag to compare

New Functionality

  • [ai-api] Provide an HTTP wrapper to consume the AI Core Rest APIs. It is powered by the SAP Cloud SDK OpenAPI generator. (ba9133b)
  • [foundation-models] Offer an OpenAI client to consume Azure OpenAI models for chat completion and embeddings via generative AI hub of SAP AI Core. (ba9133b)
  • [langchain] Support using the LangChain framework for consuming Azure OpenAI models from generative AI hub of SAP AI Core. (ba9133b)
  • [orchestration] Introduce orchestration client for consuming the following features of the orchestration service:
    • harmonized LLM access via orchestration
    • client side prompt templates
    • content filtering (ba9133b)

v0.1.0

09 Sep 15:37
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

SAP Cloud SDK for AI Beta release

v0.0.0

27 Aug 15:54
3f53cbe
Compare
Choose a tag to compare
v0.0.0 Pre-release
Pre-release

This is an early alpha release for testing purposes only, please do not use it in production!