Class DataStoreConnectionSignals (1.33.0)

DataStoreConnectionSignals(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Name Description
rewriter_model_call_signals google.cloud.dialogflowcx_v3beta1.types.DataStoreConnectionSignals.RewriterModelCallSignals
Optional. Diagnostic info related to the rewriter model call.
rewritten_query str
Optional. Rewritten string query used for search.
search_snippets MutableSequence[google.cloud.dialogflowcx_v3beta1.types.DataStoreConnectionSignals.SearchSnippet]
Optional. Search snippets included in the answer generation prompt.
answer_generation_model_call_signals google.cloud.dialogflowcx_v3beta1.types.DataStoreConnectionSignals.AnswerGenerationModelCallSignals
Optional. Diagnostic info related to the answer generation model call.
answer str
Optional. The final compiled answer.
answer_parts MutableSequence[google.cloud.dialogflowcx_v3beta1.types.DataStoreConnectionSignals.AnswerPart]
Optional. Answer parts with relevant citations. Concatenation of texts should add up the answer (not counting whitespaces).
cited_snippets MutableSequence[google.cloud.dialogflowcx_v3beta1.types.DataStoreConnectionSignals.CitedSnippet]
Optional. Snippets cited by the answer generation model from the most to least relevant.
grounding_signals google.cloud.dialogflowcx_v3beta1.types.DataStoreConnectionSignals.GroundingSignals
Optional. Grounding signals.
safety_signals google.cloud.dialogflowcx_v3beta1.types.DataStoreConnectionSignals.SafetySignals
Optional. Safety check result.

Classes

AnswerGenerationModelCallSignals

AnswerGenerationModelCallSignals(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Diagnostic info related to the answer generation model call.

AnswerPart

AnswerPart(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Answer part with citation.

CitedSnippet

CitedSnippet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Snippet cited by the answer generation model.

GroundingSignals

GroundingSignals(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Grounding signals.

RewriterModelCallSignals

RewriterModelCallSignals(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Diagnostic info related to the rewriter model call.

SafetySignals

SafetySignals(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Safety check results.

SearchSnippet

SearchSnippet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Search snippet details.