Skip to content

Commit 019070a

Browse files
committed
Update ORCHESTRATION_CHAT_COMPLETION.md
1 parent 50335c1 commit 019070a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/guides/ORCHESTRATION_CHAT_COMPLETION.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ In this example, the input will be masked before the call to the LLM and will re
227227

228228
Use the grounding module to provide additional context to the AI model.
229229

230+
### Vector Data Repository
231+
232+
One way to provide grounding is by using a vector data repository. This can be done as follows.
233+
230234
```java
231235
// optional filter for collections
232236
var documentMetadata =
@@ -250,7 +254,9 @@ var result = client.chatCompletion(prompt, configWithGrounding);
250254

251255
In this example, the AI model is provided with additional context in the form of grounding information.
252256

253-
`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.
257+
### Grounding via *help.sap.com*
258+
259+
You can also use grounding based on *help.sap.com* for convenient SAP specific grounding. This can be achieved as follows.
254260

255261
```java
256262
var groundingHelpSapCom =

0 commit comments

Comments
 (0)