@sap-ai-sdk/foundation-models 0.1.1-20240919140828.0 → 1.0.1-20240920013048.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 +2 -9
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,15 +8,6 @@ This package incorporates generative AI foundation models into your AI activitie
8
8
  $ npm install @sap-ai-sdk/foundation-models
9
9
  ```
10
10
 
11
- ## Pre-requisites
12
-
13
- - [Enable the AI Core service in BTP](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/initial-setup).
14
- - Project configured with Node.js v20 or higher and native ESM support enabled.
15
- - For testing your application locally:
16
- - Download a service key for your AI Core service instance.
17
- - Create a `.env` file in the sample-code directory.
18
- - Add an entry `AICORE_SERVICE_KEY='<content-of-service-key>'`.
19
-
20
11
  ## Azure OpenAI Client
21
12
 
22
13
  To make a generative AI model available for use, you need to create a deployment.
@@ -28,6 +19,8 @@ The Azure OpenAI client allows you to send chat completion or embedding requests
28
19
 
29
20
  ### Prerequisites
30
21
 
22
+ - [Enable the AI Core service in BTP](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/initial-setup).
23
+ - Project configured with Node.js v20 or higher and native ESM support enabled.
31
24
  - A deployed OpenAI model in SAP generative AI hub.
32
25
  - You can use the [`DeploymentApi`](../ai-api/README.md#deploymentapi) from `@sap-ai-sdk/ai-api` to deploy a model to SAP generative AI hub. For more information, see [here](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-generative-ai-model-in-sap-ai-core).
33
26
  - `sap-ai-sdk/foundation-models` package installed in your project.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ai-sdk/foundation-models",
3
- "version": "0.1.1-20240919140828.0",
3
+ "version": "1.0.1-20240920013048.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -24,8 +24,8 @@
24
24
  "@sap-cloud-sdk/http-client": "^3.21.0",
25
25
  "@sap-cloud-sdk/openapi": "^3.21.0",
26
26
  "@sap-cloud-sdk/util": "^3.21.0",
27
- "@sap-ai-sdk/ai-api": "^0.1.1-20240919140828.0",
28
- "@sap-ai-sdk/core": "^0.1.1-20240919140828.0"
27
+ "@sap-ai-sdk/core": "^1.0.1-20240920013048.0",
28
+ "@sap-ai-sdk/ai-api": "^1.0.1-20240920013048.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "nock": "^13.5.5",