You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/blog/Introducing.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,15 +22,15 @@ This post introduces the main modules and their features.
22
22
</dependency>
23
23
```
24
24
25
-
This `orchestration` module lets you use the generative AI Hub orchestration service with templating, content filtering, and data masking from within your applications.
26
-
The orchestration service streamlines AI interactions while ensuring adherence to content safety guidelines.
25
+
This `orchestration` module lets you use the [Generative AI Hub Orchestration Service](https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/orchestration) with templating, content filtering, and data masking from within your applications.
26
+
The Orchestration Service streamlines AI interactions while ensuring adherence to content safety guidelines.
27
27
28
28
* Templating: Build dynamic prompts with placeholders to tailor AI interactions to user inputs.
29
29
* Content Filtering: Apply filters to maintain compliance with content safety guidelines.
30
30
* Data Masking: Anonymize and pseudonymize sensitive data.
31
31
* Grounding: Add external data sources for contextually relevant information (planned for Q1 2025).
32
32
33
-
**Example:** Write a simple chat completion.
33
+
**Example SDK code:** Write a simple chat completion.
34
34
35
35
```java
36
36
var client =newOrchestrationClient();
@@ -41,7 +41,7 @@ var result = client.chatCompletion(prompt, config);
41
41
String messageResult = result.getContent();
42
42
```
43
43
44
-
You can learn more about the orchestration service capabilities [here](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/ORCHESTRATION_CHAT_COMPLETION.md).
44
+
You can learn more about the SDK's capabilities for Orchestration Service[here](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/ORCHESTRATION_CHAT_COMPLETION.md).
45
45
46
46
## AI Management
47
47
@@ -55,11 +55,11 @@ You can learn more about the orchestration service capabilities [here](https://g
55
55
56
56
Automate tasks such as creating AI Core artifacts, configurations, and deployments, executing batch inference jobs, as well as managing Docker registries and object storage for training data.
57
57
The `core` module provides tools for workflow and scenario management within SAP AI Core.
58
-
* Artifact Management: Register and organize datasets and model artifacts.
59
-
* Configuration Management: Set up configurations for various models and use cases.
60
-
* Deployment Management: Deploy AI models and manage their lifecycle within SAP AI Core.
58
+
* Artifact management: register and organize datasets and model artifacts.
59
+
* Configuration management: set up configurations for various models and use cases.
60
+
* Deployment management: deploy AI models and manage their lifecycle within SAP AI Core.
61
61
62
-
**Example:** Create a deployment in SAP AI Core.
62
+
**Example SDK code:** Create a deployment in SAP AI Core.
63
63
64
64
```java
65
65
var api =newDeploymentApi();
@@ -72,7 +72,7 @@ String id = deployment.getId();
72
72
AiExecutionStatus status = deployment.getStatus();
73
73
```
74
74
75
-
You can learn more about the SAP AI Core capabilities[here](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/AI_CORE_DEPLOYMENT.md).
75
+
You can learn more about the SDK's capabilities for SAP AI Core [here](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/AI_CORE_DEPLOYMENT.md).
76
76
77
77
## Generative AI with Foundation Models and OpenAI
78
78
@@ -87,7 +87,7 @@ You can learn more about the SAP AI Core capabilities [here](https://github.com/
87
87
The `openai` module, along with other modules in the `com.sap.ai.sdk.foundationmodels` group, enables streamlined access to specific generative AI models available through the Generative AI Hub.
88
88
The module provides a simplified interface focused on direct model interactions, ideal for developers who require direct access to foundation models for inference and embedding requests without additional orchestration features.
89
89
90
-
**Example:** Write a simple chat completion.
90
+
**Example SDK code:** Write a simple chat completion.
91
91
92
92
```java
93
93
var result =
@@ -98,12 +98,12 @@ var result =
98
98
String resultMessage = result.getContent();
99
99
```
100
100
101
-
You can learn more about the foundation models and OpenAI specific capabilities[here](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/OPENAI_CHAT_COMPLETION.md).
101
+
You can learn more about the SDK's capabilities for foundation models and OpenAI specific features[here](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/OPENAI_CHAT_COMPLETION.md).
102
102
103
103
## Getting Started
104
104
105
105
You will need _Java 17_ or higher.
106
-
_Spring Boot_ or _SAP CAP_ as a framework is recommended, but not required.
106
+
_Spring Boot_ or [_SAP Cloud Application Programming Model (CAP)_](https://cap.cloud.sap/docs/) as a framework is recommended, but not required.
107
107
To explore these packages further, check out [our sample project](https://github.com/SAP/ai-sdk-java/tree/main/sample-code/spring-app), which shows the usage of the various SDK packages.
0 commit comments