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.8 KiB
1.8 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 %}
GoogleMapsGroundingChunk interface
A grounding chunk from Google Maps.
Important: If using Grounding with Google Maps, you are required to comply with the Service Specific Terms for "Grounding with Google Maps".
Signature:
export interface GoogleMapsGroundingChunk
Properties
| Property | Type | Description |
|---|---|---|
| placeId | string | This Place's resource name, in places/{place_id} format. This can be used to look up the place in the Google Maps API. |
| text | string | The text of the place answer. |
| title | string | The title of the place. |
| uri | string | The URI of the place. |
GoogleMapsGroundingChunk.placeId
This Place's resource name, in places/{place_id} format. This can be used to look up the place in the Google Maps API.
Signature:
placeId?: string;
GoogleMapsGroundingChunk.text
The text of the place answer.
Signature:
text?: string;
GoogleMapsGroundingChunk.title
The title of the place.
Signature:
title?: string;
GoogleMapsGroundingChunk.uri
The URI of the place.
Signature:
uri?: string;