Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class DocumentQuerySource.
Document source settings.
Supported features: SMART_REPLY, SMART_COMPOSE.
Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource
Namespace
Google \ Cloud \ Dialogflow \ V2 \ HumanAgentAssistantConfig \ SuggestionQueryConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ documents |
array
Required. Knowledge documents to query from. Format: |
getDocuments
Required. Knowledge documents to query from. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>
.
Currently, at most 5 documents are supported.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDocuments
Required. Knowledge documents to query from. Format:
projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>
.
Currently, at most 5 documents are supported.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |