Skip to content

Commit

Permalink
Update from SAP DITA CMS (squashed):
Browse files Browse the repository at this point in the history
commit 004e2f0f8dd5eea9d55045408dafb64db8576635
Author: REDACTED
Date:   Mon Feb 19 13:46:31 2024 +0000

    Update from SAP DITA CMS 2024-02-19 13:46:31
    Project: dita-all/ayn1620809929290
    Project map: 8a3894192639433b9ba1f87efe78bfd1.ditamap
    Language: en-US

commit 52e233543b9f86b1340fdfa13e588d510dc56a42
Author: REDACTED
Date:   Mon Feb 19 11:39:52 2024 +0000

    Update from SAP DITA CMS 2024-02-19 11:39:52
    Project: dita-all/bex1621329160251
    Project map: d3e749bbac3d4f728c12228db6629c45.ditamap
    Language: en-US

commit db9e32c9ffb202d46db6740353e23cf8c751a9b7
Author: REDACTED
Date:   Mon Feb 19 10:36:47 2024 +0000

    Update from SAP DITA CMS 2024-02-19 10:36:47
    Project: dita-all/bex1621329160251
    Project map: d3e749bbac3d4f728c12228db6629c45.ditamap
    Language: en-US

commit 8f43642fadb9082441f5576b4b250ab9d7eda774
Author: REDACTED
Date:   Thu Feb 15 12:39:33 2024 +0000

    Update from SAP DITA CMS 2024-02-15 12:39:33

##################################################
[Remaining squash message was removed before commit...]
  • Loading branch information
ditaccms-bot committed Feb 19, 2024
1 parent 96783af commit b10e64e
Show file tree
Hide file tree
Showing 52 changed files with 680 additions and 74 deletions.
129 changes: 129 additions & 0 deletions docs/sap-ai-core/consume-generative-ai-models-bf0373b.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,135 @@ If you want to remove a model, delete its deployment. For more information, see
> ### Restriction:
> Do not submit sensitive information in prompts when using generative AI hub.
<a name="concept_ef2_1kz_21c"/>

<!-- concept\_ef2\_1kz\_21c -->

## Content Filtering

Content filtering for the following categories and severities has been enabled for selected Azure models:


<table>
<tr>
<th valign="top">

Category

</th>
<th valign="top">

Low Severity

</th>
<th valign="top">

Medium and High Severity

</th>
</tr>
<tr>
<td valign="top">

**Hate:**

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

Allow

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

Block

</td>
</tr>
<tr>
<td valign="top">

**Sexual:**

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

Allow

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

Block

</td>
</tr>
<tr>
<td valign="top">

**Self-harm:**

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

Allow

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

Block

</td>
</tr>
<tr>
<td valign="top">

**Violence:**

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

Allow

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

Block

</td>
</tr>
</table>


<table>
<tr>
<th valign="top">

Category

</th>
<th valign="top">

If Detected

</th>
</tr>
<tr>
<td valign="top">

**Jailbreak risk:**

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

Block

</td>
</tr>
</table>

For more information, see [Azure Content Filtering Documentation](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/content-filter?tabs=warning%2Cpython).

If your response is filtered because of the contents, you will receive an error message instead of the reponse.

<a name="concept_ynz_mgh_tzb"/>

<!-- concept\_ynz\_mgh\_tzb -->
Expand Down
33 changes: 32 additions & 1 deletion docs/sap-ai-core/create-a-service-key-7323ff4.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@

![](images/New_Service_Key_0019ba4.png)

**Optional:**To use an x.509 certificate instead of clientsecret credentials, specify the credentials by updating and uploading the following as a JSON:

```
{ "xsuaa": {"credential-type":"x509", "x509": { "key-length": 2048, "validity":7, "validity-type":"DAYS"}
```
- `key-length`: The byte length of the generated private key. Default: 2048.
- `validity`: The validity time unit. DAYS, MONTHS and YEARS are supported. Default: DAYS.
- `validity-type`: The number of time units. Default: 7.
The default combination is a key of length 2048, valid for 7 DAYS.
3. Download your service key to save it.
Expand All @@ -29,7 +42,7 @@ You now have your service key, which provides URLs and credentials for accessing
![](images/Service_Key_Credentials_1e1342e.png)
Your key will include:
If you have generated a clienstecret, your key will include:
- `clientid`, `clientsecret`, and `url` can be used to generate your authentication token.
Expand All @@ -43,3 +56,21 @@ Your key will include:
If you have generated an x.509 certificate, your key will include:
- `certificate`
- `certurl` can be used to generate your authentication token.
- `key` your RSA private key.
- `identityzone` and `identityzoneid` represent your tenant ID.
- `appname` provides the service instance details if service instance isolation is implemented.
- `serviceurls` allow you to interact with SAP AI Core once your authentication token has been generated.
- `AI_API_URL`: Unified AI API to handle ML artifacts \(such as training, data, models, and deployments\) across multiple hyperscalers.
10 changes: 10 additions & 0 deletions docs/sap-ai-core/use-a-service-key-3a97465.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
>
> You might see an alert relating to the characters in your credentials, you can ignore this.
> ### Note:
> If you have generated a x.509 certificate instead of clientsecret credentials, you'll need to use your `certificate`, `key` and `certUrl` to create your token.
>
> For example: `curl --cert <cert.pem> --key <key.pem> -XPOST <certUrl>/oauth/token -d 'grant_type=client_credentials&client_id=<client id>'`
5. Select the *Variables* tab, and set your `baseUrl` from your credentials.

The `baseUrl` is labelled *AI\_API\_URL* in your service key.
Expand Down Expand Up @@ -118,6 +123,11 @@ curl is likely to be installed on your operating system by default. To check, op
> ### Note:
> The token is valid for a limited time. Once it has expired, create a new token, using the same code snippet.
> ### Note:
> If you have generated a x.509 certificate instead of clientsecret credentials, you'll need to use your `certificate`, `key` and `certUrl` to create your token.
>
> For example: `curl --cert <cert.pem> --key <key.pem> -XPOST <certUrl>/oauth/token -d 'grant_type=client_credentials&client_id=<client id>'`
3. Verify that the token has been fetched properly:
```
Expand Down
2 changes: 1 addition & 1 deletion docs/sap-ai-core/what-is-sap-ai-core-d029a32.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,5 @@ Choose from a selection of generative AI models for prompt experimentation, and

[AI API Overview](ai-api-overview-716d4c3.md "The AI API lets you manage your AI assets (such as training scripts, data, models, and model servers) across multiple runtimes.")

[SAP AI Launchpad](https://help.sap.com/viewer/product/AI_LAUNCHPAD/INTERNAL/en-US)
[SAP AI Launchpad](https://help.sap.com/ailaunchpad)

Loading

0 comments on commit b10e64e

Please sign in to comment.