Google Cloud Dialogflow V2 Client - Class ConversationDetail (2.3.0)

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

Aggregated evaluation result on conversation level. This conatins evaluation results of all the metrics and sections.

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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ SummarizationEvaluationMetrics

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ message_entries array<Google\Cloud\Dialogflow\V2\MessageEntry>

Output only. Conversation transcript that used for summarization evaluation as a reference.

↳ summary_sections array<Google\Cloud\Dialogflow\V2\SummarySuggestion\SummarySection>

Output only. Summary sections that used for summarization evaluation as a reference.

↳ metric_details array<ConversationDetail\MetricDetail>

Output only. List of metric details.

↳ section_tokens array<SectionToken>

Output only. Conversation level token count per section. This is an aggregated(sum) result of input token of summary acorss all metrics for a single conversation.

getMessageEntries

Output only. Conversation transcript that used for summarization evaluation as a reference.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMessageEntries

Output only. Conversation transcript that used for summarization evaluation as a reference.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\V2\MessageEntry>
Returns
Type Description
$this

getSummarySections

Output only. Summary sections that used for summarization evaluation as a reference.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSummarySections

Output only. Summary sections that used for summarization evaluation as a reference.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\V2\SummarySuggestion\SummarySection>
Returns
Type Description
$this

getMetricDetails

Output only. List of metric details.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMetricDetails

Output only. List of metric details.

Parameter
Name Description
var array<ConversationDetail\MetricDetail>
Returns
Type Description
$this

getSectionTokens

Output only. Conversation level token count per section. This is an aggregated(sum) result of input token of summary acorss all metrics for a single conversation.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSectionTokens

Output only. Conversation level token count per section. This is an aggregated(sum) result of input token of summary acorss all metrics for a single conversation.

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