Class DocumentMetadata (0.11.14)

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

Document metadata contains the information of the document of the current chunk.

Attributes

Name Description
uri str
Uri of the document.
title str
Title of the document.
struct_data google.protobuf.struct_pb2.Struct
Data representation. The structured JSON data for the document. It should conform to the registered Schema or an INVALID_ARGUMENT error is thrown.