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 the generative model to connect to Google Search to access and incorporate up-to-date information from the web into its responses.
14
+
15
+
When this tool is used, the model's responses may include "Grounded Results" which are subject to the Grounding with Google Search terms outlined in the [Service Specific Terms](https://cloud.google.com/terms/service-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.
Copy file name to clipboardExpand all lines: docs-devsite/ai.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,8 +95,12 @@ The Firebase AI Web SDK.
95
95
|[GenerateContentStreamResult](./ai.generatecontentstreamresult.md#generatecontentstreamresult_interface)| Result object returned from [GenerativeModel.generateContentStream()](./ai.generativemodel.md#generativemodelgeneratecontentstream) call. Iterate over <code>stream</code> to get chunks as they come in and/or use the <code>response</code> promise to get the aggregated response when the stream is done. |
96
96
|[GenerationConfig](./ai.generationconfig.md#generationconfig_interface)| Config options for content-related requests |
97
97
|[GenerativeContentBlob](./ai.generativecontentblob.md#generativecontentblob_interface)| Interface for sending an image. |
98
+
|[GoogleSearch](./ai.googlesearch.md#googlesearch_interface)| Configuration for the [GoogleSearchTool](./ai.googlesearchtool.md#googlesearchtool_interface)<!---->. |
99
+
|[GoogleSearchTool](./ai.googlesearchtool.md#googlesearchtool_interface)| A tool that allows the generative model to connect to Google Search to access and incorporate up-to-date information from the web into its responses.<!---->When this tool is used, the model's responses may include "Grounded Results" which are subject to the Grounding with Google Search terms outlined in the [Service Specific Terms](https://cloud.google.com/terms/service-terms)<!---->. |
|[GroundingChunk](./ai.groundingchunk.md#groundingchunk_interface)| 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. |
99
102
|[GroundingMetadata](./ai.groundingmetadata.md#groundingmetadata_interface)| Metadata returned to client when grounding is enabled. |
103
+
|[GroundingSupport](./ai.groundingsupport.md#groundingsupport_interface)| Provides information about how a specific segment of the model's response is supported by the retrieved grounding chunks. |
100
104
|[ImagenGCSImage](./ai.imagengcsimage.md#imagengcsimage_interface)| An image generated by Imagen, stored in a Cloud Storage for Firebase bucket.<!---->This feature is not available yet. |
101
105
|[ImagenGenerationConfig](./ai.imagengenerationconfig.md#imagengenerationconfig_interface)| <b><i>(Public Preview)</i></b> Configuration options for generating images with Imagen.<!---->See the [documentation](http://firebase.google.com/docs/vertex-ai/generate-images-imagen) for more details. |
102
106
|[ImagenGenerationResponse](./ai.imagengenerationresponse.md#imagengenerationresponse_interface)| <b><i>(Public Preview)</i></b> The response from a request to generate images with Imagen. |
@@ -116,14 +120,16 @@ The Firebase AI Web SDK.
116
120
|[SchemaParams](./ai.schemaparams.md#schemaparams_interface)| Params passed to [Schema](./ai.schema.md#schema_class) static methods to create specific [Schema](./ai.schema.md#schema_class) classes. |
117
121
|[SchemaRequest](./ai.schemarequest.md#schemarequest_interface)| Final format for [Schema](./ai.schema.md#schema_class) params passed to backend requests. |
118
122
|[SchemaShared](./ai.schemashared.md#schemashared_interface)| Basic [Schema](./ai.schema.md#schema_class) properties shared across several Schema-related types. |
119
-
|[Segment](./ai.segment.md#segment_interface)||
123
+
|[SearchEntrypoint](./ai.searchentrypoint.md#searchentrypoint_interface)| Google search entry point. |
124
+
|[Segment](./ai.segment.md#segment_interface)| Represents a specific segment within a [Content](./ai.content.md#content_interface) object, often used to pinpoint the exact location of text or data that grounding information refers to. |
120
125
|[StartChatParams](./ai.startchatparams.md#startchatparams_interface)| Params for [GenerativeModel.startChat()](./ai.generativemodel.md#generativemodelstartchat)<!---->. |
121
126
|[TextPart](./ai.textpart.md#textpart_interface)| Content part interface if the part represents a text string. |
122
127
|[ToolConfig](./ai.toolconfig.md#toolconfig_interface)| Tool config. This config is shared for all tools provided in the request. |
123
128
|[UsageMetadata](./ai.usagemetadata.md#usagemetadata_interface)| Usage metadata about a [GenerateContentResponse](./ai.generatecontentresponse.md#generatecontentresponse_interface)<!---->. |
124
129
|[VertexAIOptions](./ai.vertexaioptions.md#vertexaioptions_interface)| Options when initializing the Firebase AI SDK. |
125
130
|[VideoMetadata](./ai.videometadata.md#videometadata_interface)| Describes the input video content. |
0 commit comments