Skip to content

Commit 3dfd323

Browse files
committed
Docs
1 parent bce9be0 commit 3dfd323

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/guides/ORCHESTRATION_CHAT_COMPLETION.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,6 @@ Change your LLM configuration to add model parameters:
201201
OrchestrationAiModel customGPT4O =
202202
OrchestrationAiModel.GPT_4O
203203
.withParams(
204-
Map.of(
205-
"max_tokens", 50,
206-
"temperature", 0.1,
207-
"frequency_penalty", 0,
208-
"presence_penalty", 0))
204+
params().maxTokens(50).temperature(0.1).frequencyPenalty(0).presencePenalty(0))
209205
.withVersion("2024-05-13");
210206
```

0 commit comments

Comments
 (0)