Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class SmartReplyData.
Agent Assist Smart Reply data.
Generated from protobuf message google.cloud.contactcenterinsights.v1.SmartReplyData
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ reply |
string
The content of the reply. |
↳ confidence_score |
float
The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). |
↳ metadata |
array|Google\Protobuf\Internal\MapField
Map that contains metadata about the Smart Reply and the document from which it originates. |
↳ query_record |
string
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} |
getReply
The content of the reply.
Returns | |
---|---|
Type | Description |
string |
setReply
The content of the reply.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConfidenceScore
The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
Returns | |
---|---|
Type | Description |
float |
setConfidenceScore
The system's confidence score that this reply is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMetadata
Map that contains metadata about the Smart Reply and the document from which it originates.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setMetadata
Map that contains metadata about the Smart Reply and the document from which it originates.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getQueryRecord
The name of the answer record.
Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
Returns | |
---|---|
Type | Description |
string |
setQueryRecord
The name of the answer record.
Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |