Class SemanticMarkup (0.10.1)

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.