Google Cloud Dialogflow V2 Client - Class SummarizationEvaluationResult (2.3.0)

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

Evaluation result per conversation(&summary), metric and section.

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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ SummarizationEvaluationMetrics

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ session_id string

Output only. conversation session id

↳ metric string

Output only. metric name, e.g. accuracy, completeness, adherence, etc.

↳ section string

Output only. section/task name, e.g. action, situation, etc

↳ score float

Output only. score calculated from decompositions

↳ section_summary string

Output only. Summary of this section

↳ decompositions array<Decomposition>

Output only. List of decompostion details

↳ evaluation_results array<EvaluationResult>

Output only. List of evaluation results.

getSessionId

Output only. conversation session id

Returns
Type Description
string

setSessionId

Output only. conversation session id

Parameter
Name Description
var string
Returns
Type Description
$this

getMetric

Output only. metric name, e.g. accuracy, completeness, adherence, etc.

Returns
Type Description
string

setMetric

Output only. metric name, e.g. accuracy, completeness, adherence, etc.

Parameter
Name Description
var string
Returns
Type Description
$this

getSection

Output only. section/task name, e.g. action, situation, etc

Returns
Type Description
string

setSection

Output only. section/task name, e.g. action, situation, etc

Parameter
Name Description
var string
Returns
Type Description
$this

getScore

Output only. score calculated from decompositions

Returns
Type Description
float

setScore

Output only. score calculated from decompositions

Parameter
Name Description
var float
Returns
Type Description
$this

getSectionSummary

Output only. Summary of this section

Returns
Type Description
string

setSectionSummary

Output only. Summary of this section

Parameter
Name Description
var string
Returns
Type Description
$this

getDecompositions

Output only. List of decompostion details

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDecompositions

Output only. List of decompostion details

Parameter
Name Description
var array<Decomposition>
Returns
Type Description
$this

getEvaluationResults

Output only. List of evaluation results.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEvaluationResults

Output only. List of evaluation results.

Parameter
Name Description
var array<EvaluationResult>
Returns
Type Description
$this