@sap-ai-sdk/foundation-models 1.1.1-20241006013118.0 → 1.1.1-20241008013106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,9 +8,9 @@ This package incorporates generative AI foundation models into your AI activitie
8
8
  - [Prerequisites](#prerequisites)
9
9
  - [Relationship between Models and Deployment ID](#relationship-between-models-and-deployment-id)
10
10
  - [Usage](#usage)
11
- - [Client Initialization](#client-initialization)
12
- - [Chat Client](#chat-client)
13
- - [Embedding Client](#embedding-client)
11
+ - [Azure OpenAI Client Initialization](#client-initialization)
12
+ - [Azure OpenAI Chat Client](#chat-client)
13
+ - [Azure OpenAI Embedding Client](#embedding-client)
14
14
  - [Custom Request Configuration](#custom-request-configuration)
15
15
  - [Local Testing](#local-testing)
16
16
  - [Support, Feedback, Contribution](#support-feedback-contribution)
@@ -45,7 +45,7 @@ Consequently, each deployment ID and resource group uniquely map to a combinatio
45
45
 
46
46
  ## Usage
47
47
 
48
- ### Client Initialization
48
+ ### Azure OpenAI Client Initialization
49
49
 
50
50
  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.
51
51
 
@@ -72,7 +72,7 @@ const chatClient = new AzureOpenAiChatClient({
72
72
  });
73
73
  ```
74
74
 
75
- ### Chat Client
75
+ ### Azure OpenAI Chat Client
76
76
 
77
77
  Use the `AzureOpenAiChatClient` to send chat completion requests to an OpenAI model deployed in SAP generative AI hub.
78
78
 
@@ -134,7 +134,7 @@ logger.info(
134
134
 
135
135
  Refer to `AzureOpenAiChatCompletionParameters` interface for other parameters that can be passed to the chat completion request.
136
136
 
137
- ### Embedding Client
137
+ ### Azure OpenAI Embedding Client
138
138
 
139
139
  Use the `AzureOpenAiEmbeddingClient` to send embedding requests to an OpenAI model deployed in SAP generative AI hub.
140
140
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/foundation-models",
3
- "version": "1.1.1-20241006013118.0",
3
+ "version": "1.1.1-20241008013106.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "@sap-cloud-sdk/http-client": "^3.21.0",
24
24
  "@sap-cloud-sdk/util": "^3.21.0",
25
- "@sap-ai-sdk/ai-api": "^1.1.1-20241006013118.0",
26
- "@sap-ai-sdk/core": "^1.1.1-20241006013118.0"
25
+ "@sap-ai-sdk/ai-api": "^1.1.1-20241008013106.0",
26
+ "@sap-ai-sdk/core": "^1.1.1-20241008013106.0"
27
27
  },
28
28
  "scripts": {
29
29
  "compile": "tsc",