You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var prompt = groundingConfig.createGroundingPrompt("What does Joule do?");
211
+
var configWithGrounding = config.withGrounding(groundingConfig);
212
+
213
+
var result = client.chatCompletion(prompt, configWithGrounding);
231
214
```
232
215
233
-
In this example, the AI model is provided with additional context in the form of grounding information. Note, that it is necessary to provide the grounding input via one or more input variables.
216
+
In this example, the AI model is provided with additional context in the form of grounding information.
217
+
218
+
`Grounding.create()` is by default a document grounding service with a vector data repository and id `"someID"`.
0 commit comments