Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SummarizationEvaluationMetrics.
Evaluation metrics for summarization generator.
Generated from protobuf message google.cloud.dialogflow.v2.SummarizationEvaluationMetrics
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ summarization_evaluation_results |
array<SummarizationEvaluationMetrics\SummarizationEvaluationResult>
Output only. A list of evaluation results per conversation(&summary), metric and section. |
↳ summarization_evaluation_merged_results_uri |
string
Output only. User bucket uri for merged evaluation score and aggregation score csv. |
↳ overall_metrics |
array<SummarizationEvaluationMetrics\OverallScoresByMetric>
Output only. A list of aggregated(average) scores per metric section. |
↳ overall_section_tokens |
array<SummarizationEvaluationMetrics\SectionToken>
Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation. |
↳ conversation_details |
array<SummarizationEvaluationMetrics\ConversationDetail>
Output only. List of conversation details. |
getSummarizationEvaluationResults
Output only. A list of evaluation results per conversation(&summary), metric and section.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSummarizationEvaluationResults
Output only. A list of evaluation results per conversation(&summary), metric and section.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SummarizationEvaluationMetrics\SummarizationEvaluationResult>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSummarizationEvaluationMergedResultsUri
Output only. User bucket uri for merged evaluation score and aggregation score csv.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSummarizationEvaluationMergedResultsUri
Output only. User bucket uri for merged evaluation score and aggregation score csv.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOverallMetrics
Output only. A list of aggregated(average) scores per metric section.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setOverallMetrics
Output only. A list of aggregated(average) scores per metric section.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SummarizationEvaluationMetrics\OverallScoresByMetric>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOverallSectionTokens
Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setOverallSectionTokens
Output only. Overall token per section. This is an aggregated(sum) result of input token of summary acorss all conversations that are selected for summarization evaluation.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SummarizationEvaluationMetrics\SectionToken>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConversationDetails
Output only. List of conversation details.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setConversationDetails
Output only. List of conversation details.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SummarizationEvaluationMetrics\ConversationDetail>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|