Class Snippet (2.36.0)

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

Snippet Source for a Generative Prediction.

Attributes

Name Description
uri str
URI the data is sourced from.
text str
Text taken from that URI.
title str
Title of the document.
metadata google.protobuf.struct_pb2.Struct
Metadata of the document.