Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tricky-geese-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@firebase/vertexai': patch
---

Label `GroundingAttribution` as deprecated.
2 changes: 1 addition & 1 deletion common/api-review/vertexai.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export interface GroundingAttribution {

// @public
export interface GroundingMetadata {
// (undocumented)
// @deprecated (undocumented)
groundingAttributions: GroundingAttribution[];
// (undocumented)
retrievalQueries?: string[];
Expand Down
4 changes: 4 additions & 0 deletions docs-devsite/vertexai.groundingmetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export interface GroundingMetadata

## GroundingMetadata.groundingAttributions

> Warning: This API is now obsolete.
>
>

<b>Signature:</b>

```typescript
Expand Down
3 changes: 3 additions & 0 deletions packages/vertexai/src/types/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ export interface Citation {
export interface GroundingMetadata {
webSearchQueries?: string[];
retrievalQueries?: string[];
/**
* @deprecated
*/
groundingAttributions: GroundingAttribution[];
}

Expand Down
Loading