[core] Add gpt-5,gpt-5-mini and gpt-5-nano to and remove gemini-1.5-flash, gemini-1.5-pro and ibm--granite-13b-chat from the available model list. (97711bc)
[core] Add anthropic--claude-4-opus, anthropic--claude-4-sonnet, amazon--nova-premier, gemini-2.5-flash and gemini-2.5-pro to and remove mistralai--mixtral-8x7b-instruct-v01, meta--llama3.1-70b-instruct, nvidia--llama-3.2-nv-embedqa-1b, amazon--titan-embed-text, gpt-4, amazon--titan-text-express and amazon--titan-text-lite from the available model list. (b2629b4)
[langchain] Use isInteropZodSchema instead of isZodSchemaV4 in LangChain Azure OpenAI and Orchestration clients to support both Zod v3 and v4 schemas. (8d54af6)
[orchestration] Add support for standard and custom DPI entities in buildDpiMaskingProvider() function.
Allow configuration of masking strategies via replacement_strategy for both entity types. (fab35bc)
[orchestration] Add utility functions getContent(), getRefusal(), getAllMessages(), getAssistantMessage(), and getResponse() to stream response. (225f40c)
[document-grounding] Refactor Pipelines to GetPipelines, Pipeline to GetPipeline, PipelinePostRequest to CreatePipeline, PipelineStatus to GetPipelineStatus, and RetievalSearchResults to RetrievalSearchResults. (efffc16)
[langchain] Adjust content of chat result in LangChain Orchestration by removing finish_reason, index, function_call, request_id from additional_kwargs and adding tool_calls and request_id in generationInfo. (e9c19b4)
[orchestration] The type of logprobs in the response is corrected as a result of a bug fix from the Orchestration service. (9a0d6f7)
[orchestration] The ModuleResults and LlmModuleResult types are now only meant to be used for the non-streaming case.
Previously, they represented both streaming and non-streaming response.
For streaming, use ModuleResultsStreaming and LlmModuleResultStreaming types instead.
[orchestration] Since ChatMessage type is now one of the many specific types such as SystemChatMessage and UserChatMessage with predefined roles in the orchestration service specification, always define type when creating objects of type OrchestrationModuleConfig and TemplatingModuleConfig to avoid role being any string. (84cfa07)
[orchestration] Make templating and templating.template properties optional in the Prompt type and introduce a new messages property to allow sending messages directly without requiring a template. This enables users to reuse the same client instance without re-initialization by passing updated messages at runtime. (7ca8d88)
[core] Add gemini-2.0-flash, gemini-2.0-flash-lite, anthropic--claude-3.7-sonnet and deepseek-ai--deepseek-r1 to and remove gemini-1.0-pro from the available model list. (a6ba3af)
[core] Due to the introduction of ErrorWithCause , AxiosError is now wrapped inside the cause property. For example, use error.cause.response.data instead of error.response.data to access the error response from the server. (bfed500)
[orchestration] Update Orchestration API to the 2501a release. As part of this change, the modelsGet method of ScenarioAPI has been renamed to scenarioQueryModels . (0a62553)
[orchestration] Make model_params property in the LlmModuleConfig 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)
[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)
[foundation-models, orchestration] Get choice via index by comparing the index property instead of using array index. @sap-ai-sdk/ai-api@1.3.0 @sap-ai-sdk/core@1.3.0 (91df549)
[orchestration] Fix input and output filters to disallow additional properties as part of the filter config.
[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)
[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)
[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] 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: