Files

2.1 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 %}

WebGroundingChunk interface

A grounding chunk from the web.

Important: If using Grounding with Google Search, you are required to comply with the Service Specific Terms for "Grounding with Google Search".

Signature:

export interface WebGroundingChunk 

Properties

Property Type Description
domain string The domain of the original URI from which the content was retrieved.This property is only supported in the Agent Platform Gemini API (AgentPlatformBackend). When using the Gemini Developer API (GoogleAIBackend), this property will be undefined.
title string The title of the retrieved web page.
uri string The URI of the retrieved web page.

WebGroundingChunk.domain

The domain of the original URI from which the content was retrieved.

This property is only supported in the Agent Platform Gemini API (AgentPlatformBackend). When using the Gemini Developer API (GoogleAIBackend), this property will be undefined.

Signature:

domain?: string;

WebGroundingChunk.title

The title of the retrieved web page.

Signature:

title?: string;

WebGroundingChunk.uri

The URI of the retrieved web page.

Signature:

uri?: string;