Class Features (2.13.0)

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

All available features. Setting each one to true will enable that specific analysis for the input.

Attributes

NameDescription
extract_entities bool
Optional. Extract entities.
extract_document_sentiment bool
Optional. Extract document-level sentiment.
classify_text bool
Optional. Classify the full document into categories.
moderate_text bool
Optional. Moderate the document for harmful and sensitive categories.