Class SemanticMarkup (0.8.1)

Stay organized with collections Save and categorize content based on your preferences.
SemanticMarkup(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Semantic markup denotes a substring (by index and length) with markup information.

Attributes

NameDescription
type_ google.cloud.dataqna_v1alpha.types.AnnotatedString.SemanticMarkupType
The semantic type of the markup substring.
start_char_index int
Unicode character index of the query.
length int
The length (number of unicode characters) of the markup substring.

Inheritance

builtins.object > proto.message.Message > SemanticMarkup