Google Cloud Dialogflow Cx V3 Client - Class GroundingSignals (0.8.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class GroundingSignals.

Grounding signals.

Generated from protobuf message google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.GroundingSignals

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ DataStoreConnectionSignals

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ decision int

Represents the decision of the grounding check.

↳ score int

Grounding score bucket setting.

getDecision

Represents the decision of the grounding check.

Returns
Type Description
int Enum of type GroundingDecision.

setDecision

Represents the decision of the grounding check.

Parameter
Name Description
var int

Enum of type GroundingDecision.

Returns
Type Description
$this

getScore

Grounding score bucket setting.

Returns
Type Description
int Enum of type GroundingScoreBucket.

setScore

Grounding score bucket setting.

Parameter
Name Description
var int

Enum of type GroundingScoreBucket.

Returns
Type Description
$this