Skip to content

Commit 2a7315f

Browse files
Update docs/blog/Introducing.md
Co-authored-by: Charles Dubois <[email protected]>
1 parent 2eaa52d commit 2a7315f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/blog/Introducing.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ The orchestration service streamlines AI interactions while ensuring adherence t
3131
**Example:** Chat completion. ([more](https://github.com/SAP/ai-sdk-java/blob/main/docs/guides/ORCHESTRATION_CHAT_COMPLETION.md))
3232
```java
3333
var client = new OrchestrationClient();
34-
var config = new OrchestrationModuleConfig().withLlmConfig(LLMModuleConfig.create().modelName("gpt-35-turbo"));
34+
var config = new OrchestrationModuleConfig().withLlmConfig(OrchestrationAiModel.GPT_4O);
3535
var prompt = new OrchestrationPrompt("Hello world! Why is this phrase so famous?");
3636
var result = client.chatCompletion(prompt, config);
3737

38-
String messageResult =
39-
result.getOrchestrationResult().getChoices().get(0).getMessage().getContent();
38+
String messageResult = result.getContent();
4039
```
4140

4241
## AI Management

0 commit comments

Comments
 (0)