Class SearchKnowledgeAnswer (2.38.0)

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

Represents a SearchKnowledge answer.

Attributes

Name Description
answer str
The piece of text from the knowledge base documents that answers the search query
answer_type google.cloud.dialogflow_v2.types.SearchKnowledgeAnswer.AnswerType
The type of the answer.
answer_sources MutableSequence[google.cloud.dialogflow_v2.types.SearchKnowledgeAnswer.AnswerSource]
All sources used to generate the answer.
answer_record str
The name of the answer record. Format: projects/

Classes

AnswerSource

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

The sources of the answers.

AnswerType

AnswerType(value)

The type of the answer.