Skip to content

Commit acc1b80

Browse files
committed
Add links to sample code.
1 parent 66e4a20 commit acc1b80

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/controllers/OrchestrationController.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ public OrchestrationChatResponse completion() {
4545
/**
4646
* Chat request to OpenAI through the Orchestration service with a template
4747
*
48+
* @link <a href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/templating">SAP
49+
* AI Core: Orchestration - Templating</a>
4850
* @return the result object
4951
*/
5052
@GetMapping("/template")
@@ -84,6 +86,12 @@ public OrchestrationChatResponse messagesHistory() {
8486
/**
8587
* Apply both input and output filtering for a request to orchestration.
8688
*
89+
* @link <a
90+
* href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/input-filtering">SAP
91+
* AI Core: Orchestration - Input Filtering</a>
92+
* @link <a
93+
* href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/output-filtering">SAP
94+
* AI Core: Orchestration - Output Filtering</a>
8795
* @param policy A high threshold is a loose filter, a low threshold is a strict filter
8896
* @return the result object
8997
*/
@@ -112,6 +120,9 @@ public OrchestrationChatResponse filter(
112120
* user. Anonymize any names given as they are not relevant for judging the sentiment of the
113121
* feedback.
114122
*
123+
* @link <a
124+
* href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/data-masking">SAP AI
125+
* Core: Orchestration - Data Masking</a>
115126
* @return the result object
116127
*/
117128
@GetMapping("/maskingAnonymization")
@@ -138,6 +149,9 @@ public OrchestrationChatResponse maskingAnonymization() {
138149
* Let the orchestration service a response to a hypothetical user who provided feedback on the AI
139150
* SDK. Pseudonymize the user's name and location to protect their privacy.
140151
*
152+
* @link <a
153+
* href="https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/data-masking">SAP AI
154+
* Core: Orchestration - Data Masking</a>
141155
* @return the result object
142156
*/
143157
@GetMapping("/maskingPseudonymization")

0 commit comments

Comments
 (0)