Skip to content

Releases: SAP/ai-sdk-js

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!