Skip to content

Commit ddba574

Browse files
committed
Format
1 parent c173e92 commit ddba574

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ public class OrchestrationService {
5757
public String queryPayments(final @Nonnull String msgUser) {
5858
final var msgSystem = "You are a helpful chat bot to answer questions on company payments.";
5959

60-
final var config = new OrchestrationModuleConfig().withLlmConfig(GPT_4O.withParam(TEMPERATURE, 0.5).withParam(MAX_TOKENS, 150));
60+
final var config =
61+
new OrchestrationModuleConfig()
62+
.withLlmConfig(GPT_4O.withParam(TEMPERATURE, 0.5).withParam(MAX_TOKENS, 150));
6163
final var prompt = new OrchestrationPrompt(Message.system(msgSystem), Message.user(msgUser));
6264
final var result = client.chatCompletion(prompt, config);
6365
return result.getContent();

0 commit comments

Comments
 (0)