mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
### Discussion Implement new tools to use Grounding with Google Maps, similar to how Grounding with Google Search works. ### Testing Integration tests. Unit tests. Node standalone app. Updated Quickstart React-based app (not part of this PR). ### API Changes - Grounding with Google Maps support, see internal doc: go/fal-maps-grounding-api - TemplateToolConfig, see internal doc: go/firebase-ai-server-prompt-template
1.4 KiB
1.4 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
GroundingChunk interface
Represents a chunk of retrieved data that supports a claim in the model's response. This is part of the grounding information provided when grounding is enabled.
Signature:
export interface GroundingChunk
Properties
| Property | Type | Description |
|---|---|---|
| maps | GoogleMapsGroundingChunk | Contains details if the grounding chunk is from a Google Maps source. |
| web | WebGroundingChunk | Contains details if the grounding chunk is from a web source. |
GroundingChunk.maps
Contains details if the grounding chunk is from a Google Maps source.
Signature:
maps?: GoogleMapsGroundingChunk;
GroundingChunk.web
Contains details if the grounding chunk is from a web source.
Signature:
web?: WebGroundingChunk;