View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignals (google_api_dialogflow v0.78.0)

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, ...

Attributes

  • answer (type: String.t, default: nil) - Optional. The final compiled answer.
  • answerGenerationModelCallSignals (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals.t, default: nil) - Optional. Diagnostic info related to the answer generation model call.
  • answerParts (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart.t), default: nil) - Optional. Answer parts with relevant citations. Concatenation of texts should add up the answer (not counting whitespaces).
  • citedSnippets (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet.t), default: nil) - Optional. Snippets cited by the answer generation model from the most to least relevant.
  • groundingSignals (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals.t, default: nil) - Optional. Grounding signals.
  • rewriterModelCallSignals (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals.t, default: nil) - Optional. Diagnostic info related to the rewriter model call.
  • rewrittenQuery (type: String.t, default: nil) - Optional. Rewritten string query used for search.
  • safetySignals (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals.t, default: nil) - Optional. Safety check result.
  • searchSnippets (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet.t), default: nil) - Optional. Search snippets included in the answer generation prompt.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.