Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class EvaluationConfig.
The configuration for model evaluation.
Generated from protobuf message google.cloud.dialogflow.v2.EvaluationConfig
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ datasets |
array<InputDataset>
Required. Datasets used for evaluation. |
↳ smart_reply_config |
EvaluationConfig\SmartReplyConfig
Configuration for smart reply model evaluation. |
↳ smart_compose_config |
EvaluationConfig\SmartComposeConfig
Configuration for smart compose model evaluation. |
getDatasets
Required. Datasets used for evaluation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDatasets
Required. Datasets used for evaluation.
| Parameter | |
|---|---|
| Name | Description |
var |
array<InputDataset>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSmartReplyConfig
Configuration for smart reply model evaluation.
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig\SmartReplyConfig|null |
|
hasSmartReplyConfig
setSmartReplyConfig
Configuration for smart reply model evaluation.
| Parameter | |
|---|---|
| Name | Description |
var |
EvaluationConfig\SmartReplyConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSmartComposeConfig
Configuration for smart compose model evaluation.
| Returns | |
|---|---|
| Type | Description |
EvaluationConfig\SmartComposeConfig|null |
|
hasSmartComposeConfig
setSmartComposeConfig
Configuration for smart compose model evaluation.
| Parameter | |
|---|---|
| Name | Description |
var |
EvaluationConfig\SmartComposeConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getModelSpecificConfig
| Returns | |
|---|---|
| Type | Description |
string |
|