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
// Warning: (ae-incompatible-release-tags) The symbol "urlContextMetadata" is marked as @public, but its signature references "URLContextMetadata" which is marked as @beta
// Warning: (ae-incompatible-release-tags) The symbol "Tool" is marked as @public, but its signature references "URLContextTool" which is marked as @beta
Copy file name to clipboardExpand all lines: docs-devsite/ai.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,10 +134,10 @@ The Firebase AI Web SDK.
134
134
|[TextPart](./ai.textpart.md#textpart_interface)| Content part interface if the part represents a text string. |
135
135
|[ThinkingConfig](./ai.thinkingconfig.md#thinkingconfig_interface)| Configuration for "thinking" behavior of compatible Gemini models.<!---->Certain models utilize a thinking process before generating a response. This allows them to reason through complex problems and plan a more coherent and accurate answer. |
136
136
|[ToolConfig](./ai.toolconfig.md#toolconfig_interface)| Tool config. This config is shared for all tools provided in the request. |
137
-
|[URLContext](./ai.urlcontext.md#urlcontext_interface)| Specifies the URL Context configuration. |
138
-
|[URLContextMetadata](./ai.urlcontextmetadata.md#urlcontextmetadata_interface)| Metadata related to [URLContextTool](./ai.urlcontexttool.md#urlcontexttool_interface)<!---->. |
139
-
|[URLContextTool](./ai.urlcontexttool.md#urlcontexttool_interface)| A tool that allows you to provide additional context to the models in the form of public web URLs. By including URLs in your request, the Gemini model will access the content from those pages to inform and enhance its response. |
140
-
|[URLMetadata](./ai.urlmetadata.md#urlmetadata_interface)| Metadata for a single URL retrieved by the [URLContextTool](./ai.urlcontexttool.md#urlcontexttool_interface) tool. |
137
+
|[URLContext](./ai.urlcontext.md#urlcontext_interface)|<b><i>(Public Preview)</i></b> Specifies the URL Context configuration. |
138
+
|[URLContextMetadata](./ai.urlcontextmetadata.md#urlcontextmetadata_interface)|<b><i>(Public Preview)</i></b> Metadata related to [URLContextTool](./ai.urlcontexttool.md#urlcontexttool_interface)<!---->. |
139
+
|[URLContextTool](./ai.urlcontexttool.md#urlcontexttool_interface)|<b><i>(Public Preview)</i></b> A tool that allows you to provide additional context to the models in the form of public web URLs. By including URLs in your request, the Gemini model will access the content from those pages to inform and enhance its response. |
140
+
|[URLMetadata](./ai.urlmetadata.md#urlmetadata_interface)|<b><i>(Public Preview)</i></b> Metadata for a single URL retrieved by the [URLContextTool](./ai.urlcontexttool.md#urlcontexttool_interface) tool. |
141
141
|[UsageMetadata](./ai.usagemetadata.md#usagemetadata_interface)| Usage metadata about a [GenerateContentResponse](./ai.generatecontentresponse.md#generatecontentresponse_interface)<!---->. |
142
142
|[VideoMetadata](./ai.videometadata.md#videometadata_interface)| Describes the input video content. |
143
143
|[VoiceConfig](./ai.voiceconfig.md#voiceconfig_interface)| <b><i>(Public Preview)</i></b> Configuration for the voice to used in speech synthesis. |
@@ -169,7 +169,7 @@ The Firebase AI Web SDK.
169
169
|[POSSIBLE\_ROLES](./ai.md#possible_roles)| Possible roles. |
170
170
|[ResponseModality](./ai.md#responsemodality)| <b><i>(Public Preview)</i></b> Generation modalities to be returned in generation responses. |
171
171
|[SchemaType](./ai.md#schematype)| Contains the list of OpenAPI data types as defined by the [OpenAPI specification](https://swagger.io/docs/specification/data-models/data-types/)|
172
-
|[URLRetrievalStatus](./ai.md#urlretrievalstatus)| The status of a URL retrieval. |
172
+
|[URLRetrievalStatus](./ai.md#urlretrievalstatus)|<b><i>(Public Preview)</i></b> The status of a URL retrieval. |
173
173
174
174
## Type Aliases
175
175
@@ -202,7 +202,7 @@ The Firebase AI Web SDK.
202
202
|[SchemaType](./ai.md#schematype)| Contains the list of OpenAPI data types as defined by the [OpenAPI specification](https://swagger.io/docs/specification/data-models/data-types/)|
203
203
|[Tool](./ai.md#tool)| Defines a tool that model can call to access external knowledge. |
204
204
|[TypedSchema](./ai.md#typedschema)| A type that includes all specific Schema types. |
205
-
|[URLRetrievalStatus](./ai.md#urlretrievalstatus)| The status of a URL retrieval. |
205
+
|[URLRetrievalStatus](./ai.md#urlretrievalstatus)|<b><i>(Public Preview)</i></b> The status of a URL retrieval. |
206
206
207
207
## function(app, ...)
208
208
@@ -760,6 +760,9 @@ SchemaType: {
760
760
761
761
## URLRetrievalStatus
762
762
763
+
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
764
+
>
765
+
763
766
The status of a URL retrieval.
764
767
765
768
<b>URL\_RETRIEVAL\_STATUS\_UNSPECIFIED:</b> Unspecified retrieval status. <br/> <b>URL\_RETRIEVAL\_STATUS\_SUCCESS:</b> The URL retrieval was successful. <br/> <b>URL\_RETRIEVAL\_STATUS\_ERROR:</b> The URL retrieval failed. <br/> <b>URL\_RETRIEVAL\_STATUS\_PAYWALL:</b> The URL retrieval failed because the content is behind a paywall. <br/> <b>URL\_RETRIEVAL\_STATUS\_UNSAFE:</b> The URL retrieval failed because the content is unsafe. <br/>
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
1077
+
>
1078
+
1073
1079
The status of a URL retrieval.
1074
1080
1075
1081
<b>URL\_RETRIEVAL\_STATUS\_UNSPECIFIED:</b> Unspecified retrieval status. <br/> <b>URL\_RETRIEVAL\_STATUS\_SUCCESS:</b> The URL retrieval was successful. <br/> <b>URL\_RETRIEVAL\_STATUS\_ERROR:</b> The URL retrieval failed. <br/> <b>URL\_RETRIEVAL\_STATUS\_PAYWALL:</b> The URL retrieval failed because the content is behind a paywall. <br/> <b>URL\_RETRIEVAL\_STATUS\_UNSAFE:</b> The URL retrieval failed because the content is unsafe. <br/>
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
14
+
>
15
+
13
16
A tool that allows you to provide additional context to the models in the form of public web URLs. By including URLs in your request, the Gemini model will access the content from those pages to inform and enhance its response.
0 commit comments