Skip to content

Commit 3086ed0

Browse files
committed
Deprecate GroundingAttribution
1 parent 51465ce commit 3086ed0

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

common/api-review/vertexai.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export interface GroundingAttribution {
366366

367367
// @public
368368
export interface GroundingMetadata {
369-
// (undocumented)
369+
// @deprecated (undocumented)
370370
groundingAttributions: GroundingAttribution[];
371371
// (undocumented)
372372
retrievalQueries?: string[];

docs-devsite/vertexai.groundingmetadata.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ export interface GroundingMetadata
2828

2929
## GroundingMetadata.groundingAttributions
3030

31+
> Warning: This API is now obsolete.
32+
>
33+
>
34+
3135
<b>Signature:</b>
3236

3337
```typescript

packages/vertexai/src/types/responses.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ export interface Citation {
153153
export interface GroundingMetadata {
154154
webSearchQueries?: string[];
155155
retrievalQueries?: string[];
156+
/**
157+
* @deprecated
158+
*/
156159
groundingAttributions: GroundingAttribution[];
157160
}
158161

0 commit comments

Comments
 (0)