Google Cloud Ai Platform V1 Client - Class RetrievedContext (1.13.1)

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

Chunk from context retrieved by the retrieval tools.

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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GroundingChunk

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

URI reference of the attribution.

↳ title string

Title of the attribution.

↳ text string

Text of the attribution.

getUri

URI reference of the attribution.

Returns
Type Description
string

hasUri

clearUri

setUri

URI reference of the attribution.

Parameter
Name Description
var string
Returns
Type Description
$this

getTitle

Title of the attribution.

Returns
Type Description
string

hasTitle

clearTitle

setTitle

Title of the attribution.

Parameter
Name Description
var string
Returns
Type Description
$this

getText

Text of the attribution.

Returns
Type Description
string

hasText

clearText

setText

Text of the attribution.

Parameter
Name Description
var string
Returns
Type Description
$this