Google Cloud Dialogflow V2 Client - Class CompletenessRubric (2.3.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CompletenessRubric.

Rubric details of the completeness evaluation result.

Generated from protobuf message google.cloud.dialogflow.v2.SummarizationEvaluationMetrics.CompletenessRubric

Namespace

Google \ Cloud \ Dialogflow \ V2 \ SummarizationEvaluationMetrics

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ question string

Output only. The question generated from instruction that used to evaluate summary.

↳ is_addressed bool

Output only. A boolean that indicates whether the rubric question is addressed or not.

getQuestion

Output only. The question generated from instruction that used to evaluate summary.

Returns
Type Description
string

setQuestion

Output only. The question generated from instruction that used to evaluate summary.

Parameter
Name Description
var string
Returns
Type Description
$this

getIsAddressed

Output only. A boolean that indicates whether the rubric question is addressed or not.

Returns
Type Description
bool

hasIsAddressed

clearIsAddressed

setIsAddressed

Output only. A boolean that indicates whether the rubric question is addressed or not.

Parameter
Name Description
var bool
Returns
Type Description
$this