We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f975d commit a11c3d7Copy full SHA for a11c3d7
sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OrchestrationService.java
@@ -56,7 +56,8 @@ public class OrchestrationService {
56
public String queryPayments(final @Nonnull String msgUser) {
57
final var msgSystem = "You are a helpful chat bot to answer questions on company payments.";
58
59
- final var config = new OrchestrationModuleConfig().withLlmConfig(GPT_4O.withParam(TEMPERATURE, 0.5));
+ final var config =
60
+ new OrchestrationModuleConfig().withLlmConfig(GPT_4O.withParam(TEMPERATURE, 0.5));
61
final var prompt = new OrchestrationPrompt(Message.system(msgSystem), Message.user(msgUser));
62
final var result = client.chatCompletion(prompt, config);
63
return result.getContent();
0 commit comments