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
This is generated by the JS SDK team, and any local changes will be
8
+
overwritten. Changes should be made in the source code at
9
+
https://github.com/firebase/firebase-js-sdk
10
+
{% endcomment %}
11
+
12
+
# GoogleSearchTool interface
13
+
A tool that allows a Gemini model to connect to Google Search to access and incorporate up-to-date information from the web into its responses.
14
+
15
+
Important: If using Grounding with Google Search, you are required to comply with the "Grounding with Google Search" usage requirements for your chosen API provider: [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section within the Service Specific Terms).
16
+
17
+
<b>Signature:</b>
18
+
19
+
```typescript
20
+
exportinterfaceGoogleSearchTool
21
+
```
22
+
23
+
## Properties
24
+
25
+
| Property | Type | Description |
26
+
| --- | --- | --- |
27
+
| [googleSearch](./ai.googlesearchtool.md#googlesearchtoolgooglesearch) | [GoogleSearch](./ai.googlesearch.md#googlesearch_interface) | SpecifiestheGoogleSearchconfiguration. Currently, thisisanemptyobject, butit'sreservedforfutureconfigurationoptions. SpecifiestheGoogleSearchconfiguration. Currently, thisisanemptyobject, butit'sreservedforfutureconfigurationoptions.<!-- -->Whenusingthisfeature, youarerequiredtocomplywiththe "GroundingwithGoogleSearch" usagerequirementsforyourchosenAPIprovider: [GeminiDeveloperAPI](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section within the Service Specific Terms). |
Whenusingthisfeature, youarerequiredtocomplywiththe "GroundingwithGoogleSearch" usagerequirementsforyourchosenAPIprovider: [GeminiDeveloperAPI](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section within the Service Specific Terms).
This is generated by the JS SDK team, and any local changes will be
8
+
overwritten. Changes should be made in the source code at
9
+
https://github.com/firebase/firebase-js-sdk
10
+
{% endcomment %}
11
+
12
+
# GroundingChunk interface
13
+
Represents a chunk of retrieved data that supports a claim in the model's response. This is part of the grounding information provided when grounding is enabled.
Metadata returned to client when grounding is enabled.
13
+
Metadata returned when grounding is enabled.
14
+
15
+
Currently, only Grounding with Google Search is supported (see [GoogleSearchTool](./ai.googlesearchtool.md#googlesearchtool_interface)<!---->).
16
+
17
+
Important: If using Grounding with Google Search, you are required to comply with the "Grounding with Google Search" usage requirements for your chosen API provider: [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or Vertex AI Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section within the Service Specific Terms).
0 commit comments