Class ModelSpec (0.11.10)

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

Specification of the model.

Attribute

NameDescription
version str
The model version used to generate the summary. Supported values are: - stable: string. Default value when no value is specified. Uses a generally available, fine-tuned version of the text-bison@001 model. - preview: string. (Public preview) Uses a fine-tuned version of the text-bison@002 model. This model works only for summaries in English.