Skip to content

Commit b2d5a18

Browse files
pfd checkstyle
1 parent 8bac690 commit b2d5a18

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OrchestrationService.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,12 @@ public OrchestrationChatResponse localPromptTemplate(@Nonnull final String promp
535535
return client.chatCompletion(prompt, configWithTemplate);
536536
}
537537

538+
/**
539+
* Chat request to an LLM through the Orchestration service using translation.
540+
*
541+
* @return the assistant response object
542+
*/
543+
@Nonnull
538544
public OrchestrationChatResponse translation() {
539545
val prompt =
540546
new OrchestrationPrompt(

0 commit comments

Comments
 (0)