Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Observation.
Observation.
Generated from protobuf message google.cloud.discoveryengine.v1.Answer.Step.Action.Observation
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ Answer \ Step \ ActionMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ search_results |
array<Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult>
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user. |
getSearchResults
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSearchResults
Search results observed by the search action, it can be snippets info or chunk info, depending on the citation type set by the user.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation\SearchResult>
|
Returns | |
---|---|
Type | Description |
$this |