Google Cloud Dialogflow V2 Client - Class KnowledgeAssistDebugInfo (2.4.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class KnowledgeAssistDebugInfo.

Debug information related to Knowledge Assist feature.

Generated from protobuf message google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ query_generation_failure_reason
int

Reason for query generation.

↳ query_categorization_failure_reason
int

Reason for query categorization.

↳ datastore_response_reason
int

Response reason from datastore which indicates data serving status or answer quality degradation.

↳ knowledge_assist_behavior
KnowledgeAssistDebugInfo\KnowledgeAssistBehavior

Configured behaviors for Knowedge Assist.

↳ ingested_context_reference_debug_info
IngestedContextReferenceDebugInfo

Information about parameters ingested for search knowledge.

↳ service_latency
ServiceLatency

The latency of the service.

getQueryGenerationFailureReason

Reason for query generation.

Returns
Type
Description
int

setQueryGenerationFailureReason

Reason for query generation.

Parameter
Name
Description
var
int

Enum of type QueryGenerationFailureReason .

Returns
Type
Description
$this

getQueryCategorizationFailureReason

Reason for query categorization.

Returns
Type
Description

setQueryCategorizationFailureReason

Reason for query categorization.

Parameter
Name
Description
var
Returns
Type
Description
$this

getDatastoreResponseReason

Response reason from datastore which indicates data serving status or answer quality degradation.

Returns
Type
Description
int

setDatastoreResponseReason

Response reason from datastore which indicates data serving status or answer quality degradation.

Parameter
Name
Description
var
int

Enum of type DatastoreResponseReason .

Returns
Type
Description
$this

getKnowledgeAssistBehavior

Configured behaviors for Knowedge Assist.

Returns
Type
Description

hasKnowledgeAssistBehavior

clearKnowledgeAssistBehavior

setKnowledgeAssistBehavior

Configured behaviors for Knowedge Assist.

Parameter
Name
Description
Returns
Type
Description
$this

getIngestedContextReferenceDebugInfo

Information about parameters ingested for search knowledge.

Returns
Type
Description

hasIngestedContextReferenceDebugInfo

clearIngestedContextReferenceDebugInfo

setIngestedContextReferenceDebugInfo

Information about parameters ingested for search knowledge.

Parameter
Name
Description
Returns
Type
Description
$this

getServiceLatency

The latency of the service.

Returns
Type
Description

hasServiceLatency

clearServiceLatency

setServiceLatency

The latency of the service.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: