Skip to content

Commit f37fd0b

Browse files
Update docs/guides/ORCHESTRATION_CHAT_COMPLETION.md
Co-authored-by: Charles Dubois <[email protected]>
1 parent e8ca132 commit f37fd0b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/guides/ORCHESTRATION_CHAT_COMPLETION.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,10 @@ In this example, the AI model is provided with additional context in the form of
253253
`Grounding.create()` is by default a document grounding service with a vector data repository. If you want to use grounding based on *help.sap.com*, you can use the following code.
254254

255255
```java
256-
val groundingHelpSapCom =
256+
var groundingHelpSapCom =
257257
DocumentGroundingFilter.create()
258258
.dataRepositoryType(DataRepositoryType.HELP_SAP_COM);
259-
val groundingConfig =
260-
Grounding.create()
261-
.filters(groundingHelpSapCom);
259+
var groundingConfig = Grounding.create().filters(groundingHelpSapCom);
262260
var configWithGrounding = config.withGrounding(groundingConfig);
263261

264262
var prompt = groundingConfig.createGroundingPrompt("What is a fuzzy search?");

0 commit comments

Comments
 (0)