Skip to content

Commit b546cba

Browse files
authoredFeb 20, 2025··
fix typo 'groundingChuncks' -> 'groundingChunks' (#342)
* Breaking change: Fix the typo of groundingChunks
1 parent 864afb7 commit b546cba

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed
 

‎.changeset/better-vans-act.md

+5
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 groundingChunks

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ export interface GroundingChunkWeb {
589589

590590
// @public
591591
export interface GroundingMetadata {
592-
groundingChuncks?: GroundingChunk[];
592+
groundingChunks?: GroundingChunk[];
593593
groundingSupport?: GroundingSupport[];
594594
retrievalMetadata?: RetrievalMetadata;
595595
searchEntryPoint?: SearchEntryPoint;
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; [groundingChuncks](./generative-ai.groundingmetadata.groundingchuncks.md)
3+
[Home](./index.md) &gt; [@google/generative-ai](./generative-ai.md) &gt; [GroundingMetadata](./generative-ai.groundingmetadata.md) &gt; [groundingChunks](./generative-ai.groundingmetadata.groundingchunks.md)
44

5-
## GroundingMetadata.groundingChuncks property
5+
## GroundingMetadata.groundingChunks property
66

77
List of supporting references retrieved from specified grounding source.
88

99
**Signature:**
1010

1111
```typescript
12-
groundingChuncks?: GroundingChunk[];
12+
groundingChunks?: GroundingChunk[];
1313
```

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export declare interface GroundingMetadata
1616

1717
| Property | Modifiers | Type | Description |
1818
| --- | --- | --- | --- |
19-
| [groundingChuncks?](./generative-ai.groundingmetadata.groundingchuncks.md) | | [GroundingChunk](./generative-ai.groundingchunk.md)<!-- -->\[\] | _(Optional)_ List of supporting references retrieved from specified grounding source. |
19+
| [groundingChunks?](./generative-ai.groundingmetadata.groundingchunks.md) | | [GroundingChunk](./generative-ai.groundingchunk.md)<!-- -->\[\] | _(Optional)_ List of supporting references retrieved from specified grounding source. |
2020
| [groundingSupport?](./generative-ai.groundingmetadata.groundingsupport.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. |

‎types/search-grounding.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export declare interface GroundingMetadata {
6767
/**
6868
* List of supporting references retrieved from specified grounding source.
6969
*/
70-
groundingChuncks?: GroundingChunk[];
70+
groundingChunks?: GroundingChunk[];
7171
/**
7272
* List of grounding support.
7373
*/

0 commit comments

Comments
 (0)
Please sign in to comment.