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: README.md
+11-14Lines changed: 11 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,12 +73,11 @@ If you don't have a deployment yet, please refer to [this guide](https://help.sa
73
73
Add the following dependency to your `pom.xml` file:
74
74
75
75
```xml
76
-
77
76
<dependency>
78
-
<groupId>com.sap.ai.sdk</groupId>
79
-
<artifactId>orchestration</artifactId>
80
-
<!-- Use the latest version here -->
81
-
<version>${ai-sdk.version}</version>
77
+
<groupId>com.sap.ai.sdk</groupId>
78
+
<artifactId>orchestration</artifactId>
79
+
<!-- Use the latest version here -->
80
+
<version>${ai-sdk.version}</version>
82
81
</dependency>
83
82
```
84
83
@@ -94,7 +93,7 @@ Next, we'll specify the model we want to use:
94
93
95
94
```java
96
95
var config =newOrchestrationModuleConfig()
97
-
.withLlmConfig(OrchestrationAiModel.GPT_4O);
96
+
.withLlmConfig(OrchestrationAiModel.GPT_4O);
98
97
```
99
98
100
99
Now we can create our first prompt:
@@ -172,10 +171,7 @@ var destination =
172
171
.build();
173
172
174
173
// AI Core client
175
-
service =service.
176
-
177
-
withBaseDestination(destination);
178
-
174
+
service = service.withBaseDestination(destination);
179
175
DeploymentApi client =newDeploymentApi(service);
180
176
```
181
177
@@ -197,6 +193,7 @@ This is a known false-positive finding.
197
193
Depending on the tooling any product called "SAP Cloud SDK" or similar with a low version number may be marked as vulnerable, incorrectly.
198
194
Please consider suppressing the warning, [as we do](https://github.com/SAP/ai-sdk-java/blob/main/.pipeline/dependency-check-suppression.xml).
199
195
196
+
200
197
### _"Are there any example projects?"_
201
198
202
199
Explore example applications and code snippets:
@@ -206,20 +203,20 @@ Explore example applications and code snippets:
206
203
## Contribute, Support and Feedback
207
204
208
205
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/SAP/ai-sdk-java/issues).
209
-
Contribution and feedback are encouraged and always welcome.
206
+
Contribution and feedback are encouraged and always welcome.
210
207
For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).
211
208
212
209
## Security / Disclosure
213
210
214
-
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/SAP/ai-sdk-java/security/policy) on how to report it.
211
+
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/SAP/ai-sdk-java/security/policy) on how to report it.
215
212
Please do not create GitHub issues for security-related doubts or problems.
216
213
217
214
## Code of Conduct
218
215
219
-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone.
216
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone.
220
217
By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md) at all times.
221
218
222
219
## Licensing
223
220
224
-
Copyright 2024 SAP SE or an SAP affiliate company and ai-sdk-java contributors. Please see our [LICENSE](LICENSE) for copyright and license information.
221
+
Copyright 2024 SAP SE or an SAP affiliate company and ai-sdk-java contributors. Please see our [LICENSE](LICENSE) for copyright and license information.
225
222
Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/ai-sdk-java).
0 commit comments