@sap-ai-sdk/foundation-models 1.2.1-20241112013051.0 → 1.2.1-20241114013105.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.
- package/README.md +6 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -35,9 +35,12 @@ $ npm install @sap-ai-sdk/foundation-models
|
|
|
35
35
|
Deployment can be set up for each model and model version, as well as a resource group.
|
|
36
36
|
- Once a deployment is complete, access the model via the `deploymentUrl`.
|
|
37
37
|
|
|
38
|
-
> **Accessing the AI Core Service via the SDK
|
|
39
|
-
>
|
|
40
|
-
>
|
|
38
|
+
> **Accessing the AI Core Service via the SDK**
|
|
39
|
+
>
|
|
40
|
+
> The SDK automatically retrieves the `AI Core` service credentials and resolves the access token needed for authentication.
|
|
41
|
+
>
|
|
42
|
+
> - In Cloud Foundry, it's accessed from the `VCAP_SERVICES` environment variable.
|
|
43
|
+
> - In Kubernetes / Kyma environments, you have to mount the service binding as a secret instead, for more information refer to [this documentation](https://www.npmjs.com/package/@sap/xsenv#usage-in-kubernetes).
|
|
41
44
|
|
|
42
45
|
## Relationship between Models and Deployment ID
|
|
43
46
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ai-sdk/foundation-models",
|
|
3
|
-
"version": "1.2.1-
|
|
3
|
+
"version": "1.2.1-20241114013105.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.22.2",
|
|
24
24
|
"@sap-cloud-sdk/util": "^3.22.2",
|
|
25
|
-
"@sap-ai-sdk/ai-api": "^1.2.1-
|
|
26
|
-
"@sap-ai-sdk/core": "^1.2.1-
|
|
25
|
+
"@sap-ai-sdk/ai-api": "^1.2.1-20241114013105.0",
|
|
26
|
+
"@sap-ai-sdk/core": "^1.2.1-20241114013105.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"compile": "tsc",
|