QAResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)Additional result info for the question-answering feature.
Attributes
| Name | Description |
| highlights |
Sequence[google.cloud.contentwarehouse_v1.types.QAResult.Highlight]
Highlighted sections in the snippet. |
| confidence_score |
float
The calibrated confidence score for this document, in the range [0., 1.]. This represents the confidence level for whether the returned document and snippet answers the user's query. |
Inheritance
builtins.object > proto.message.Message > QAResultClasses
Highlight
Highlight(mapping=None, *, ignore_unknown_fields=False, **kwargs)A text span in the search text snippet that represents a highlighted section (answer context, highly relevant sentence, etc.).