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
Copy file name to clipboardExpand all lines: docs-devsite/ai.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,8 +136,8 @@ The Firebase AI Web SDK.
136
136
|[ToolConfig](./ai.toolconfig.md#toolconfig_interface)| Tool config. This config is shared for all tools provided in the request. |
137
137
|[URLContext](./ai.urlcontext.md#urlcontext_interface)| Specifies the URL Context configuration. |
138
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 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 URL that was used to provide context to the Gemini model. |
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. |
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. |
@@ -762,6 +762,8 @@ SchemaType: {
762
762
763
763
The status of a URL retrieval.
764
764
765
+
<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/>
<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 due to an error. <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/>
1075
+
<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/>
A tool that allows you to provide additional context to the models in the form of URLs. By including URLs in your request, the Gemini model will access the content from those pages to inform and enhance its response.
13
+
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