Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SearchKnowledgeResponse.
The response message for Conversations.SearchKnowledge.
Generated from protobuf message google.cloud.dialogflow.v2.SearchKnowledgeResponse
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ answers |
array<Google\Cloud\Dialogflow\V2\SearchKnowledgeAnswer>
Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence. |
getAnswers
Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAnswers
Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dialogflow\V2\SearchKnowledgeAnswer>
|
Returns | |
---|---|
Type | Description |
$this |