Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CitedSnippet.
Snippet cited by the answer generation model.
Generated from protobuf message google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.CitedSnippet
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ DataStoreConnectionSignalsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ search_snippet |
SearchSnippet
Details of the snippet. |
↳ snippet_index |
int
Index of the snippet in |
getSearchSnippet
Details of the snippet.
Returns | |
---|---|
Type | Description |
SearchSnippet|null |
hasSearchSnippet
clearSearchSnippet
setSearchSnippet
Details of the snippet.
Parameter | |
---|---|
Name | Description |
var |
SearchSnippet
|
Returns | |
---|---|
Type | Description |
$this |
getSnippetIndex
Index of the snippet in search_snippets
field.
Returns | |
---|---|
Type | Description |
int |
setSnippetIndex
Index of the snippet in search_snippets
field.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |