New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sap-ai-sdk/foundation-models

Package Overview
Dependencies
Maintainers
0
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ai-sdk/foundation-models - npm Package Compare versions

Comparing version 1.1.1-20241007013116.0 to 1.1.1-20241008013106.0

6

package.json
{
"name": "@sap-ai-sdk/foundation-models",
"version": "1.1.1-20241007013116.0",
"version": "1.1.1-20241008013106.0",
"description": "",

@@ -25,4 +25,4 @@ "license": "Apache-2.0",

"@sap-cloud-sdk/util": "^3.21.0",
"@sap-ai-sdk/ai-api": "^1.1.1-20241007013116.0",
"@sap-ai-sdk/core": "^1.1.1-20241007013116.0"
"@sap-ai-sdk/ai-api": "^1.1.1-20241008013106.0",
"@sap-ai-sdk/core": "^1.1.1-20241008013106.0"
},

@@ -29,0 +29,0 @@ "scripts": {

@@ -11,5 +11,5 @@ # @sap-ai-sdk/foundation-models

- [Usage](#usage)
- [Client Initialization](#client-initialization)
- [Chat Client](#chat-client)
- [Embedding Client](#embedding-client)
- [Azure OpenAI Client Initialization](#client-initialization)
- [Azure OpenAI Chat Client](#chat-client)
- [Azure OpenAI Embedding Client](#embedding-client)
- [Custom Request Configuration](#custom-request-configuration)

@@ -49,3 +49,3 @@ - [Local Testing](#local-testing)

### Client Initialization
### Azure OpenAI Client Initialization

@@ -77,3 +77,3 @@ You can pass the model name as a parameter to a client, the SDK will implicitly fetch the deployment ID for the model from the AI Core service and use it in the request.

### Chat Client
### Azure OpenAI Chat Client

@@ -140,3 +140,3 @@ Use the `AzureOpenAiChatClient` to send chat completion requests to an OpenAI model deployed in SAP generative AI hub.

### Embedding Client
### Azure OpenAI Embedding Client

@@ -143,0 +143,0 @@ Use the `AzureOpenAiEmbeddingClient` to send embedding requests to an OpenAI model deployed in SAP generative AI hub.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc