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
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,38 +12,7 @@ For [SAP BTP](https://help.sap.com/docs/btp?locale=en-US) developers, the AI SDK
12
12
13
13
This post introduces the main modules and their features.
14
14
15
-
## AI Orchestration
16
-
17
-
```xml
18
-
<dependency>
19
-
<groupId>com.sap.ai.sdk</groupId>
20
-
<artifactId>orchestration</artifactId>
21
-
<version>1.0.0</version>
22
-
</dependency>
23
-
```
24
-
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
-
28
-
* Templating: Build dynamic prompts with placeholders to tailor AI interactions to user inputs.
29
-
* Content Filtering: Apply filters to maintain compliance with content safety guidelines.
30
-
* Data Masking: Anonymize and pseudonymize sensitive data.
31
-
* Grounding: Add external data sources for contextually relevant information (planned for Q1 2025).
32
-
33
-
**Example SDK code:** Write a simple chat completion.
34
-
35
-
```java
36
-
var client =newOrchestrationClient();
37
-
var config =newOrchestrationModuleConfig().withLlmConfig(OrchestrationAiModel.GPT_4O);
38
-
var prompt =newOrchestrationPrompt("Hello world! Why is this phrase so famous?");
39
-
var result = client.chatCompletion(prompt, config);
40
-
41
-
String messageResult = result.getContent();
42
-
```
43
-
44
-
You can learn more about the SDK's capabilities for Orchestration Service [in the public repository guide](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/ORCHESTRATION_CHAT_COMPLETION.md).
45
-
46
-
## AI Management
15
+
## AI Core - Setup and Usage
47
16
48
17
```xml
49
18
<dependency>
@@ -74,7 +43,38 @@ AiExecutionStatus status = deployment.getStatus();
74
43
75
44
You can learn more about the SDK's capabilities for SAP AI Core [in the public repository guide](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/AI_CORE_DEPLOYMENT.md).
76
45
77
-
## Generative AI with Foundation Models and OpenAI
46
+
## AI Core - Orchestration
47
+
48
+
```xml
49
+
<dependency>
50
+
<groupId>com.sap.ai.sdk</groupId>
51
+
<artifactId>orchestration</artifactId>
52
+
<version>1.0.0</version>
53
+
</dependency>
54
+
```
55
+
56
+
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.
57
+
The Orchestration Service streamlines AI interactions while ensuring adherence to content safety guidelines.
58
+
59
+
* Templating: Build dynamic prompts with placeholders to tailor AI interactions to user inputs.
60
+
* Content Filtering: Apply filters to maintain compliance with content safety guidelines.
61
+
* Data Masking: Anonymize and pseudonymize sensitive data.
62
+
* Grounding: Add external data sources for contextually relevant information (planned for Q1 2025).
63
+
64
+
**Example SDK code:** Write a simple chat completion.
65
+
66
+
```java
67
+
var client =newOrchestrationClient();
68
+
var config =newOrchestrationModuleConfig().withLlmConfig(OrchestrationAiModel.GPT_4O);
69
+
var prompt =newOrchestrationPrompt("Hello world! Why is this phrase so famous?");
70
+
var result = client.chatCompletion(prompt, config);
71
+
72
+
String messageResult = result.getContent();
73
+
```
74
+
75
+
You can learn more about the SDK's capabilities for Orchestration Service [in the public repository guide](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/ORCHESTRATION_CHAT_COMPLETION.md).
0 commit comments