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
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ datasets |
array<Google\Cloud\Dialogflow\V2\InputDataset>
Required. Datasets used for evaluation. |
↳ smart_reply_config |
Google\Cloud\Dialogflow\V2\EvaluationConfig\SmartReplyConfig
Configuration for smart reply model evalution. |
↳ smart_compose_config |
Google\Cloud\Dialogflow\V2\EvaluationConfig\SmartComposeConfig
Configuration for smart compose model evalution. |
getDatasets
Required. Datasets used for evaluation.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDatasets
Required. Datasets used for evaluation.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.InputDataset datasets = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Dialogflow\V2\InputDataset>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSmartReplyConfig
Configuration for smart reply model evalution.
Generated from protobuf field .google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Dialogflow\V2\EvaluationConfig\SmartReplyConfig|null |
|
hasSmartReplyConfig
setSmartReplyConfig
Configuration for smart reply model evalution.
Generated from protobuf field .google.cloud.dialogflow.v2.EvaluationConfig.SmartReplyConfig smart_reply_config = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Dialogflow\V2\EvaluationConfig\SmartReplyConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSmartComposeConfig
Configuration for smart compose model evalution.
Generated from protobuf field .google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Dialogflow\V2\EvaluationConfig\SmartComposeConfig|null |
|
hasSmartComposeConfig
setSmartComposeConfig
Configuration for smart compose model evalution.
Generated from protobuf field .google.cloud.dialogflow.v2.EvaluationConfig.SmartComposeConfig smart_compose_config = 4;
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Dialogflow\V2\EvaluationConfig\SmartComposeConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getModelSpecificConfig
| Returns | |
|---|---|
| Type | Description |
string |
|