Google Cloud Ai Platform V1 Client - Class SummarizationVerbosityResult (1.7.0)

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

Spec for summarization verbosity result.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ score float

Output only. Summarization Verbosity score.

↳ explanation string

Output only. Explanation for summarization verbosity score.

↳ confidence float

Output only. Confidence for summarization verbosity score.

getScore

Output only. Summarization Verbosity score.

Returns
Type Description
float

hasScore

clearScore

setScore

Output only. Summarization Verbosity score.

Parameter
Name Description
var float
Returns
Type Description
$this

getExplanation

Output only. Explanation for summarization verbosity score.

Returns
Type Description
string

setExplanation

Output only. Explanation for summarization verbosity score.

Parameter
Name Description
var string
Returns
Type Description
$this

getConfidence

Output only. Confidence for summarization verbosity score.

Returns
Type Description
float

hasConfidence

clearConfidence

setConfidence

Output only. Confidence for summarization verbosity score.

Parameter
Name Description
var float
Returns
Type Description
$this