Skip to content

Commit bbb9d4a

Browse files
committed
fix docs
1 parent 286c9c6 commit bbb9d4a

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

docs-devsite/ai.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ The Firebase AI Web SDK.
136136
| [ToolConfig](./ai.toolconfig.md#toolconfig_interface) | Tool config. This config is shared for all tools provided in the request. |
137137
| [URLContext](./ai.urlcontext.md#urlcontext_interface) | Specifies the URL Context configuration. |
138138
| [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 enhances it's response. At most 20 URLs can be consumed per request. |
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. |
140140
| [URLMetadata](./ai.urlmetadata.md#urlmetadata_interface) | Metadata for a URL that was used to provide context to the Gemini model. |
141141
| [UsageMetadata](./ai.usagemetadata.md#usagemetadata_interface) | Usage metadata about a [GenerateContentResponse](./ai.generatecontentresponse.md#generatecontentresponse_interface)<!-- -->. |
142142
| [VideoMetadata](./ai.videometadata.md#videometadata_interface) | Describes the input video content. |
@@ -1053,13 +1053,7 @@ Defines a tool that model can call to access external knowledge.
10531053
<b>Signature:</b>
10541054

10551055
```typescript
1056-
<<<<<<< HEAD
1057-
export type Tool = FunctionDeclarationsTool | GoogleSearchTool | URLContextTool;
1058-
||||||| a4848b401
1059-
export type Tool = FunctionDeclarationsTool | GoogleSearchTool;
1060-
=======
1061-
export type Tool = FunctionDeclarationsTool | GoogleSearchTool | CodeExecutionTool;
1062-
>>>>>>> main
1056+
export type Tool = FunctionDeclarationsTool | GoogleSearchTool | CodeExecutionTool | URLContextTool;
10631057
```
10641058

10651059
## TypedSchema

docs-devsite/ai.urlcontexttool.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ https://github.com/firebase/firebase-js-sdk
1010
{% endcomment %}
1111

1212
# URLContextTool interface
13-
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 enhances it's response. At most 20 URLs can be consumed per request.
13+
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.
1414

1515
<b>Signature:</b>
1616

@@ -22,10 +22,12 @@ export interface URLContextTool
2222

2323
| Property | Type | Description |
2424
| --- | --- | --- |
25-
| [urlContext](./ai.urlcontexttool.md#urlcontexttoolurlcontext) | [URLContext](./ai.urlcontext.md#urlcontext_interface) | |
25+
| [urlContext](./ai.urlcontexttool.md#urlcontexttoolurlcontext) | [URLContext](./ai.urlcontext.md#urlcontext_interface) | Specifies the URL Context configuration. |
2626

2727
## URLContextTool.urlContext
2828

29+
Specifies the URL Context configuration.
30+
2931
<b>Signature:</b>
3032

3133
```typescript

0 commit comments

Comments
 (0)