Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class DataStoreConnectionSignals.
Data store connection feature output signals.
Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ...
Generated from protobuf message google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ rewriter_model_call_signals
DataStoreConnectionSignals\RewriterModelCallSignals
Optional. Diagnostic info related to the rewriter model call.
↳ rewritten_query
string
Optional. Rewritten string query used for search.
↳ search_snippets
array< DataStoreConnectionSignals\SearchSnippet
>
Optional. Search snippets included in the answer generation prompt.
↳ answer_generation_model_call_signals
DataStoreConnectionSignals\AnswerGenerationModelCallSignals
Optional. Diagnostic info related to the answer generation model call.
↳ answer
string
Optional. The final compiled answer.
↳ answer_parts
array< DataStoreConnectionSignals\AnswerPart
>
Optional. Answer parts with relevant citations. Concatenation of texts should add up the answer
(not counting whitespaces).
↳ cited_snippets
array< DataStoreConnectionSignals\CitedSnippet
>
Optional. Snippets cited by the answer generation model from the most to least relevant.
↳ grounding_signals
↳ safety_signals
getRewriterModelCallSignals
Optional. Diagnostic info related to the rewriter model call.
hasRewriterModelCallSignals
clearRewriterModelCallSignals
setRewriterModelCallSignals
Optional. Diagnostic info related to the rewriter model call.
$this
getRewrittenQuery
Optional. Rewritten string query used for search.
string
setRewrittenQuery
Optional. Rewritten string query used for search.
var
string
$this
getSearchSnippets
Optional. Search snippets included in the answer generation prompt.
setSearchSnippets
Optional. Search snippets included in the answer generation prompt.
$this
getAnswerGenerationModelCallSignals
Optional. Diagnostic info related to the answer generation model call.
hasAnswerGenerationModelCallSignals
clearAnswerGenerationModelCallSignals
setAnswerGenerationModelCallSignals
Optional. Diagnostic info related to the answer generation model call.
$this
getAnswer
Optional. The final compiled answer.
string
setAnswer
Optional. The final compiled answer.
var
string
$this
getAnswerParts
Optional. Answer parts with relevant citations.
Concatenation of texts should add up the answer
(not counting
whitespaces).
setAnswerParts
Optional. Answer parts with relevant citations.
Concatenation of texts should add up the answer
(not counting
whitespaces).
$this
getCitedSnippets
Optional. Snippets cited by the answer generation model from the most to least relevant.
setCitedSnippets
Optional. Snippets cited by the answer generation model from the most to least relevant.
$this
getGroundingSignals
Optional. Grounding signals.
hasGroundingSignals
clearGroundingSignals
setGroundingSignals
Optional. Grounding signals.
$this
getSafetySignals
Optional. Safety check result.
hasSafetySignals
clearSafetySignals
setSafetySignals
Optional. Safety check result.
$this