Google Cloud Ai Platform V1 Client - Class GroundingAttribution (0.37.1)

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

Grounding attribution.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ web
Google\Cloud\AIPlatform\V1\GroundingAttribution\Web

Optional. Attribution from the web.

↳ segment
Google\Cloud\AIPlatform\V1\Segment

Output only. Segment of the content this attribution belongs to.

↳ confidence_score
float

Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.

getWeb

Optional. Attribution from the web.

hasWeb

setWeb

Optional. Attribution from the web.

Returns
Type
Description
$this

getSegment

Output only. Segment of the content this attribution belongs to.

Returns
Type
Description

hasSegment

clearSegment

setSegment

Output only. Segment of the content this attribution belongs to.

Parameter
Name
Description
Returns
Type
Description
$this

getConfidenceScore

Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.

Returns
Type
Description
float

hasConfidenceScore

clearConfidenceScore

setConfidenceScore

Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.

Parameter
Name
Description
var
float
Returns
Type
Description
$this

getReference

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