Class Experiment (0.5.0)

Experiment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an experiment in an environment. .. attribute:: name

The name of the experiment. Format: projects/

:type: str

Attributes

NameDescription
display_name str
Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters.
description str
The human-readable description of the experiment.
state google.cloud.dialogflowcx_v3.types.Experiment.State
The current state of the experiment. Transition triggered by Expriments.StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED.
definition google.cloud.dialogflowcx_v3.types.Experiment.Definition
The definition of the experiment.
result google.cloud.dialogflowcx_v3.types.Experiment.Result
Inference result of the experiment.
create_time google.protobuf.timestamp_pb2.Timestamp
Creation time of this experiment.
start_time google.protobuf.timestamp_pb2.Timestamp
Start time of this experiment.
end_time google.protobuf.timestamp_pb2.Timestamp
End time of this experiment.
last_update_time google.protobuf.timestamp_pb2.Timestamp
Last update time of this experiment.
experiment_length google.protobuf.duration_pb2.Duration
Maximum number of days to run the experiment/rollout. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days.
variants_history Sequence[google.cloud.dialogflowcx_v3.types.VariantsHistory]
The history of updates to the experiment variants.

Classes

Definition

Definition(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Definition of the experiment. .. attribute:: condition

The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. "query_input.language_code=en" See the conditions reference <https://cloud.google.com/dialogflow/cx/docs/reference/condition>__.

:type: str

Result

Result(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The inference result which includes an objective metric to optimize and the confidence interval.

State

State(value)

The state of the experiment.