Google Cloud Ai Platform V1 Client - Class GroundingChunk (1.17.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GroundingChunk.

Grounding chunk.

Generated from protobuf message google.cloud.aiplatform.v1.GroundingChunk

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ web
GroundingChunk\Web

Grounding chunk from the web.

↳ retrieved_context
GroundingChunk\RetrievedContext

Grounding chunk from context retrieved by the retrieval tools.

getWeb

Grounding chunk from the web.

Returns
Type
Description

hasWeb

setWeb

Grounding chunk from the web.

Parameter
Name
Description
Returns
Type
Description
$this

getRetrievedContext

Grounding chunk from context retrieved by the retrieval tools.

Returns
Type
Description

hasRetrievedContext

setRetrievedContext

Grounding chunk from context retrieved by the retrieval tools.

Parameter
Name
Description
Returns
Type
Description
$this

getChunkType

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: