Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GeneratorEvaluationConfig.
Generator evaluation input config.
Generated from protobuf message google.cloud.dialogflow.v2.GeneratorEvaluationConfig
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ input_data_config |
GeneratorEvaluationConfig\InputDataConfig
Required. The config/source of input data. |
↳ output_gcs_bucket_path |
string
Required. The output Cloud Storage bucket path to store eval files, e.g. per_summary_accuracy_score report. This path is provided by customer and files stored in it are visible to customer, no internal data should be stored in this path. |
↳ summarization_config |
GeneratorEvaluationConfig\SummarizationConfig
Evaluation configs for summarization generator. |
getInputDataConfig
Required. The config/source of input data.
| Returns | |
|---|---|
| Type | Description |
GeneratorEvaluationConfig\InputDataConfig|null |
|
hasInputDataConfig
clearInputDataConfig
setInputDataConfig
Required. The config/source of input data.
| Parameter | |
|---|---|
| Name | Description |
var |
GeneratorEvaluationConfig\InputDataConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOutputGcsBucketPath
Required. The output Cloud Storage bucket path to store eval files, e.g.
per_summary_accuracy_score report. This path is provided by customer and files stored in it are visible to customer, no internal data should be stored in this path.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOutputGcsBucketPath
Required. The output Cloud Storage bucket path to store eval files, e.g.
per_summary_accuracy_score report. This path is provided by customer and files stored in it are visible to customer, no internal data should be stored in this path.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSummarizationConfig
Evaluation configs for summarization generator.
| Returns | |
|---|---|
| Type | Description |
GeneratorEvaluationConfig\SummarizationConfig|null |
|
hasSummarizationConfig
setSummarizationConfig
Evaluation configs for summarization generator.
| Parameter | |
|---|---|
| Name | Description |
var |
GeneratorEvaluationConfig\SummarizationConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEvaluationFeatureConfig
| Returns | |
|---|---|
| Type | Description |
string |
|