Skip to content

Commit d0a3e2e

Browse files
committed
Update from SAP DITA CMS (squashed):
commit 897501f04cbd52f5e2e2e4fd27806dd246033140 Author: REDACTED Date: Tue Jun 24 12:45:57 2025 +0000 Update from SAP DITA CMS 2025-06-24 12:45:57 Project: dita-all/ayn1620809929290 Project map: 8a3894192639433b9ba1f87efe78bfd1.ditamap Output: loio62559d01add8414eb0c4d76d2d9f48bd Language: en-US Builddable map: 038a6194f65c4ef68885f6f16360dbc4.ditamap commit bdf973c16a545afe8a9468fe40f6744984836eb8 Author: REDACTED Date: Tue Jun 24 12:07:43 2025 +0000 Update from SAP DITA CMS 2025-06-24 12:07:43 Project: dita-all/bex1621329160251 Project map: d3e749bbac3d4f728c12228db6629c45.ditamap Output: loiodaa66b2ef49f48539fa2882d82d5b619 Language: en-US Builddable map: f17fa8568d0448c685f2a0301061a6ee.ditamap commit 72ed3c9ae83dce7794196033a90a30100255f192 Author: REDACTED Date: Tue Jun 24 11:23:58 2025 +0000 Update from SAP DITA CMS 2025-06-24 11:23:58 Project: dita-all/bex1621329160251 Project map: d3e749bbac3d4f728c12228db6629c45.ditamap ################################################## [Remaining squash message was removed before commit...]
1 parent b6be2b4 commit d0a3e2e

File tree

98 files changed

+3664
-731
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+3664
-731
lines changed

docs/sap-ai-core/add-a-git-repository-b668176.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ You can use your own git repository to version control your SAP AI Core template
1616

1717
## Prerequisites
1818

19-
- You've access to a git repository over the Internet.
20-
- You've generated a personal access token for your git repository. For more information, see [Create a Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
19+
- You have access to a git repository over the Internet.
20+
- You have generated a personal access token for your git repository. For more information, see [Create a Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
2121
- If you want to onboard a git repository hosted on GitLab, make sure that the repository URL contains the `.git` suffix.
2222
- Secrets aren't permitted in your repository. If secrets are used, it isn't possible to synchronize content.
2323

@@ -33,7 +33,7 @@ You can use your own git repository to version control your SAP AI Core template
3333

3434
## Context
3535

36-
Git repositories are managed by creating personal access tokens registering them in SAP AI Core. Personal access tokens are a means of allowing and controlling connections to GitHub repositories without compromising your credentials.
36+
Git repositories are managed by creating personal access tokens and registering them in SAP AI Core. Personal access tokens are a means of allowing and controlling connections to GitHub repositories without compromising your credentials.
3737

3838

3939

@@ -59,7 +59,7 @@ You specify your unique git repository details as follows:
5959

6060
- `url`: URL of the git repository
6161

62-
- `username`: \(Service\) user that is accessing the git repository
62+
- `username`: \(Service\) user that’s accessing the git repository
6363

6464
- `password`: git personal access token. For more information, see [Create a Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
6565

@@ -84,8 +84,8 @@ Create an application to sync your folders. For more information, see [Create an
8484

8585
## Prerequisites
8686

87-
- You've access to a git repository over the Internet.
88-
- You've generated a personal access token for your git repository. For more information, see [Create a Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
87+
- You have access to a git repository over the Internet.
88+
- You have generated a personal access token for your git repository. For more information, see [Create a Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
8989
- If you want to onboard a git repository hosted on GitLab, make sure that the repository URL contains the `.git` suffix.
9090
- Secrets aren't permitted in your repository. If secrets are used, it isn't possible to synchronize content.
9191

@@ -101,7 +101,7 @@ Create an application to sync your folders. For more information, see [Create an
101101

102102
## Context
103103

104-
Git repositories are managed by creating personal access tokens registering them in SAP AI Core. Personal access tokens are a means of allowing and controlling connections to GitHub repositories without compromising your credentials.
104+
Git repositories are managed by creating personal access tokens and registering them in SAP AI Core. Personal access tokens are a means of allowing and controlling connections to GitHub repositories without compromising your credentials.
105105

106106

107107

@@ -115,7 +115,7 @@ You specify your unique git repository details as follows:
115115

116116
- `url`: URL of the git repository
117117

118-
- `username`: \(Service\) user that is accessing the git repository
118+
- `username`: \(Service\) user that’s accessing the git repository
119119

120120
- `password`: git personal access token. For more information, see [Create a Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).
121121

docs/sap-ai-core/ai-api-overview-716d4c3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ SAP AI Core provides additional APIs that are runtime-specific. These are availa
2525

2626
The AI API specification is a general specification for the lifecycle management of machine learning artifacts. SAP AI Core is one specific runtime implementation of the AI API specification. It is also possible to provide other runtime implementations of the AI API specification, independent of SAP AI Core. This section describes the necessary boundary conditions and implementation requirements.
2727

28-
The benefit of using AI API is that clients can integrate with all AI API-enabled runtime implementations. For example, SAP AI Launchpad can interact with custom runtime implementations as long as the same APIs are provided. Intelligent Scenario Lifecycle Management can also integrate with AI API-enabled runtimes. The AI API Client SDK \(Python\) can also be used \(for more information, see [SAP AI Core SDK](https://help.sap.com/docs/AI_CORE/2d6c5984063c40a59eda62f4a9135bee/499309d6e371419fb7a88b7d68c20a31.html#%0Asap-ai-core-sdk)\).
28+
The benefit of using AI API is that clients can integrate with all AI API-enabled runtime implementations. For example, SAP AI Launchpad can interact with custom runtime implementations as long as the same APIs are provided. Intelligent Scenario Lifecycle Management can also integrate with AI API-enabled runtimes. The SAP AI SDK Base \(Python\) can also be used \(for more information, see [SAP AI SDK Core](https://help.sap.com/docs/AI_CORE/2d6c5984063c40a59eda62f4a9135bee/499309d6e371419fb7a88b7d68c20a31.html#%0Asap-ai-core-sdk)\).
2929

3030

3131

docs/sap-ai-core/chat-39321a9.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Orchestration can also be used in chat scenarios. The following example shows ho
1010

1111
## Prerequisites
1212

13-
You have created a deployment for orchestration as described at [Create a Deployment for Orchestration](create-a-deployment-for-orchestration-4387aa7.md).
13+
You have a running orchestration deployment. For more information, see [Create a Deployment for Orchestration](create-a-deployment-for-orchestration-4387aa7.md).
1414

1515

1616

docs/sap-ai-core/consume-generative-ai-models-bf0373b.md

Lines changed: 154 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The resource group used in the activation steps
6161
</table>
6262

6363
> ### Caution:
64-
> SAP does not take any responsibility for quality of the content in the input to or output of the underlying generative AI models. This includes but is not limited to bias, hallucinations, or inaccuracies. The user is responsible for verifying the content.
64+
> SAP does not take any responsibility for the quality of the content in the input to or output of the underlying generative AI models. This includes but is not limited to bias, hallucinations, or inaccuracies. The user is responsible for verifying the content.
6565
6666
> ### Caution:
6767
> Do not store personally identifiable information in prompts when using the generative AI hub. Personally identifiable information is any data that can be used alone, or in combination, to identify the person that the data refers to.
@@ -90,7 +90,7 @@ For information about the supported API versions, see [Chat completions](https:/
9090

9191

9292

93-
### GPT-4-32k | GPT-4 | GPT-3.5-Turbo-16k | GPT-3.5-Turbo
93+
### gpt-4-32k | gpt-4 | gpt-3.5-Turbo-16k | gpt-3.5-Turbo | o4-mini | o3 | gpt-4.1 | gpt-4.1-mini | gpt-4.1-nano
9494

9595
**Text Input**
9696

@@ -191,6 +191,24 @@ curl --location '$DEPLOYMENT_URL/embeddings?api-version=2023-05-15' \
191191

192192

193193

194+
### alephalpha-pharia-1-7b-control
195+
196+
```
197+
curl --location '$DEPLOYMENT_URL/chat/completions' \
198+
--header 'AI-Resource-Group: default' \
199+
--header 'Content-Type: application/json' \
200+
--header 'Authorization: Bearer $AUTH_TOKEN' \
201+
--data '{
202+
"model": "alephalpha-pharia-1-7b-control",
203+
"messages": [{
204+
"role": "user",
205+
"content": "Say Hi"
206+
}]
207+
}'
208+
```
209+
210+
211+
194212
<a name="concept_ynz_mgh_tzb__section_p3k_fxc_z1c"/>
195213

196214
## Vertex AI
@@ -443,7 +461,9 @@ curl --location '$DEPLOYMENT_URL/models/textembedding-gecko-multilingual:predict
443461

444462

445463

446-
### Claude 3 Sonnet | Claude 3.5 Sonnet |Claude 3 Opus | Claude 3 Haiku
464+
### Claude 3 Sonnet | Claude 3.5 Sonnet | Claude 3 Opus | Claude 3 Haiku | Claude 4 Sonnet | Claude 4 Opus
465+
466+
Invoke:
447467

448468
```
449469
curl --location '$DEPLOYMENT_URL/invoke' \
@@ -462,6 +482,31 @@ curl --location '$DEPLOYMENT_URL/invoke' \
462482
}'
463483
```
464484

485+
Converse:
486+
487+
```
488+
curl --location '$DEPLOYMENT_URL/converse' \
489+
--header 'AI-Resource-Group: default' \
490+
--header 'Content-Type: application/json' \
491+
--header "Authorization: Bearer $AUTH_TOKEN" \
492+
--data '{
493+
"inferenceConfig": {
494+
"maxTokens": 100,
495+
"stopSequences": [ "blab" ],
496+
"temperature": 0.7
497+
},
498+
"messages": [
499+
{
500+
"content": [ {
501+
"text": "Perplexity means?"
502+
}],
503+
"role": "user"
504+
}
505+
]
506+
}'
507+
508+
```
509+
465510

466511

467512
### Claude 3.7 Sonnet
@@ -558,6 +603,8 @@ curl --location '$DEPLOYMENT_URL/converse' \
558603

559604
### Llama-3.1-70b-instruct | mistralai--mixtral-8x7b-instruct-v01
560605

606+
Without streaming:
607+
561608
```
562609
curl --location '$DEPLOYMENT_URL/chat/completions' \
563610
--header 'AI-Resource-Group: default' \
@@ -575,6 +622,26 @@ curl --location '$DEPLOYMENT_URL/chat/completions' \
575622
}'
576623
```
577624

625+
With streaming:
626+
627+
```
628+
curl --location '$DEPLOYMENT_URL/chat/completions' \
629+
--header 'AI-Resource-Group: default' \
630+
--header 'Content-Type: application/json' \
631+
--header "Authorization: Bearer $AUTH_TOKEN" \
632+
--data '{
633+
"model": "<ModelName>",
634+
"messages": [
635+
{
636+
"role": "user",
637+
"content": "Sample prompt"
638+
}
639+
],
640+
"max_tokens": 100.
641+
"stream": true
642+
}'
643+
```
644+
578645

579646

580647
<a name="concept_ynz_mgh_tzb__section_hj4_yjh_tcc"/>
@@ -583,7 +650,11 @@ curl --location '$DEPLOYMENT_URL/chat/completions' \
583650

584651

585652

586-
### mistralai--mistral-large-instruct
653+
### mistralai--mistral-large-instruct | mistralai--mistral-small-instruct
654+
655+
Text input
656+
657+
Without streaming:
587658

588659
```
589660
@@ -629,6 +700,85 @@ curl --location '$DEPLOYMENT_URL/chat/completions' \
629700
}
630701
```
631702

703+
With streaming:
704+
705+
```
706+
curl --location '$DEPLOYMENT_URL/chat/completions' \
707+
--header 'AI-Resource-Group: default' \
708+
--header 'Content-Type: application/json' \
709+
--header "Authorization: Bearer $AUTH_TOKEN" \
710+
--data '{
711+
"model": "<ModelName>",
712+
"messages": [
713+
{
714+
"role": "user",
715+
"content": "Sample prompt"
716+
}
717+
],
718+
"max_tokens": 100.
719+
"stream": true
720+
}'
721+
```
722+
723+
Image input for mistralai--mistral-small-instruct only
724+
725+
```
726+
curl --location '$DEPLOYMENT_URL/chat/completions' \
727+
--header 'AI-Resource-Group: default' \
728+
--header 'Content-Type: application/json' \
729+
--header "Authorization: Bearer $AUTH_TOKEN" \
730+
--data '
731+
{
732+
"model": "mistralai--mistral-small-instruct",
733+
"messages": [
734+
{
735+
"role":"user",
736+
"content": [
737+
{
738+
"type": "image_url",
739+
"image_url": {
740+
"url": "https://raw.githubusercontent.com/vi-kas/sample_images/refs/heads/main/pexels-field-1-1024×683.jpg"
741+
}
742+
}
743+
]
744+
}
745+
],
746+
"max_tokens": 10
747+
}'
748+
749+
# Response
750+
{
751+
"choices": [
752+
{
753+
"finish_reason": "length",
754+
"index": 0,
755+
"logprobs": null,
756+
"message": {
757+
"content": "The image shows a picturesque countryside landscape, likely",
758+
"reasoning_content": null,
759+
"role": "assistant",
760+
"tool_calls": []
761+
},
762+
"stop_reason": null
763+
}
764+
],
765+
"created": 1748573681,
766+
"id": "chatcmpl-4eec2750-95bc-991d-a7e5-74c53d510966",
767+
"model": "mistralai--mistral-small-instruct",
768+
"object": "chat.completion",
769+
"prompt_logprobs": null,
770+
"usage": {
771+
"completion_tokens": 10,
772+
"prompt_tokens": 953,
773+
"prompt_tokens_details": null,
774+
"total_tokens": 963
775+
}
776+
}
777+
```
778+
779+
> ### Note:
780+
> For information on metering of image input, see[Images](metering-and-pricing-for-generative-ai-41e8d85.md#loio41e8d85586f64e7184f388f8d58624a8__section_w4y_hpl_nfc).
781+
632782

633783

634784
<a name="concept_ynz_mgh_tzb__section_zy1_bgy_wcc"/>

docs/sap-ai-core/content-packages-9e1c83d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Computer vision package
5050
</td>
5151
<td valign="top">
5252

53-
The content package for image use cases in SAP AI Core adds image classification and feature extraction and is used with the AI Core SDK.
53+
The content package for image use cases in SAP AI Core adds image classification and feature extraction and is used with the SAP AI SDK Core.
5454

5555
</td>
5656
<td valign="top">

0 commit comments

Comments
 (0)