Releases: SAP/ai-sdk-js
Releases · SAP/ai-sdk-js
v1.2.0
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
Compatibility Notes
- [ai-api] Move
modelsGet()
fromModelApi
toScenarioApi
, and removeModelAPI
. (5bd2e4d)
New Functionality
- [orchestration] Add support for the data masking capabilities of the orchestration service. (a1105d9)
Improvements
- [ai-api] Add
kubesubmitV4ResourceQuotaGetDeploymentQuota()
function inDeploymentApi
to get details about quota and usage for deployments. Additionally introduce two new typesBckndDeploymentQuotaItem
andBckndDeploymentResourceQuotaResponse
. (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
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
SAP Cloud SDK for AI Beta release
v0.0.0
This is an early alpha release for testing purposes only, please do not use it in production!