Class KnowledgeAssistAnswer (2.35.0)

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

Represents a Knowledge Assist answer.

Attributes

Name Description
suggested_query google.cloud.dialogflow_v2.types.KnowledgeAssistAnswer.SuggestedQuery
The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion.
suggested_query_answer google.cloud.dialogflow_v2.types.KnowledgeAssistAnswer.KnowledgeAnswer
The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query.
answer_record str
The name of the answer record. Format: projects/.

Classes

KnowledgeAnswer

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

Represents an answer from Knowledge. Currently supports FAQ and Generative answers.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SuggestedQuery

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

Represents a suggested query.