Skip to content

Commit 85621eb

Browse files
authored
Fix typo of 'groundingSupport' -> 'groundingSupports' (#348)
1 parent d87cf1d commit 85621eb

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.changeset/brave-cloths-relate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@google/generative-ai": minor
3+
---
4+
5+
Breaking change: Fix typo of 'groundingSupport' -> 'groundingSupports'

common/api-review/generative-ai.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ export interface GroundingChunkWeb {
590590
// @public
591591
export interface GroundingMetadata {
592592
groundingChunks?: GroundingChunk[];
593-
groundingSupport?: GroundingSupport[];
593+
groundingSupports?: GroundingSupport[];
594594
retrievalMetadata?: RetrievalMetadata;
595595
searchEntryPoint?: SearchEntryPoint;
596596
webSearchQueries: string[];
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@google/generative-ai](./generative-ai.md) &gt; [GroundingMetadata](./generative-ai.groundingmetadata.md) &gt; [groundingSupport](./generative-ai.groundingmetadata.groundingsupport.md)
3+
[Home](./index.md) &gt; [@google/generative-ai](./generative-ai.md) &gt; [GroundingMetadata](./generative-ai.groundingmetadata.md) &gt; [groundingSupports](./generative-ai.groundingmetadata.groundingsupports.md)
44

5-
## GroundingMetadata.groundingSupport property
5+
## GroundingMetadata.groundingSupports property
66

77
List of grounding support.
88

99
**Signature:**
1010

1111
```typescript
12-
groundingSupport?: GroundingSupport[];
12+
groundingSupports?: GroundingSupport[];
1313
```

docs/reference/main/generative-ai.groundingmetadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export declare interface GroundingMetadata
1717
| Property | Modifiers | Type | Description |
1818
| --- | --- | --- | --- |
1919
| [groundingChunks?](./generative-ai.groundingmetadata.groundingchunks.md) | | [GroundingChunk](./generative-ai.groundingchunk.md)<!-- -->\[\] | _(Optional)_ List of supporting references retrieved from specified grounding source. |
20-
| [groundingSupport?](./generative-ai.groundingmetadata.groundingsupport.md) | | [GroundingSupport](./generative-ai.groundingsupport.md)<!-- -->\[\] | _(Optional)_ List of grounding support. |
20+
| [groundingSupports?](./generative-ai.groundingmetadata.groundingsupports.md) | | [GroundingSupport](./generative-ai.groundingsupport.md)<!-- -->\[\] | _(Optional)_ List of grounding support. |
2121
| [retrievalMetadata?](./generative-ai.groundingmetadata.retrievalmetadata.md) | | [RetrievalMetadata](./generative-ai.retrievalmetadata.md) | _(Optional)_ Metadata related to retrieval in the grounding flow. |
2222
| [searchEntryPoint?](./generative-ai.groundingmetadata.searchentrypoint.md) | | [SearchEntryPoint](./generative-ai.searchentrypoint.md) | _(Optional)_ Google search entry for the following-up web searches. |
2323
| [webSearchQueries](./generative-ai.groundingmetadata.websearchqueries.md) | | string\[\] | \* Web search queries for the following-up web search. |

types/search-grounding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export declare interface GroundingMetadata {
7171
/**
7272
* List of grounding support.
7373
*/
74-
groundingSupport?: GroundingSupport[];
74+
groundingSupports?: GroundingSupport[];
7575
/**
7676
* Metadata related to retrieval in the grounding flow.
7777
*/

0 commit comments

Comments
 (0)