WebGroundingChunk

public final class WebGroundingChunk


A grounding chunk from the web.

Summary

Public fields

final String

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

final String

The title of the retrieved web page.

final String

The URI of the retrieved web page.

Public constructors

WebGroundingChunk(String uri, String title, String domain)

Public fields

domain

public final String domain

The domain of the original URI from which the content was retrieved. This is only populated when using the Vertex AI Gemini API.

title

public final String title

The title of the retrieved web page.

uri

public final String uri

The URI of the retrieved web page.

Public constructors

WebGroundingChunk

public WebGroundingChunk(String uri, String title, String domain)