Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class QuerySource.
The source of the query. We use QuerySource to distinguish queries directly entered by agents and suggested queries from Participants.SuggestKnowledgeAssist.
If SUGGESTED_QUERY source is specified, we will treat it as a continuation of a SuggestKnowledgeAssist call.
Protobuf type google.cloud.dialogflow.v2.SearchKnowledgeRequest.QuerySource
Namespace
Google \ Cloud \ Dialogflow \ V2 \ SearchKnowledgeRequestMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
QUERY_SOURCE_UNSPECIFIED
Value: 0
Unknown query source.
Generated from protobuf enum QUERY_SOURCE_UNSPECIFIED = 0;
AGENT_QUERY
Value: 1
The query is from agents.
Generated from protobuf enum AGENT_QUERY = 1;
SUGGESTED_QUERY
Value: 2
The query is a suggested query from Participants.SuggestKnowledgeAssist.
Generated from protobuf enum SUGGESTED_QUERY = 2;