Class ExtensionManifest (1.49.0)

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

Manifest spec of an Extension needed for runtime execution.

Attributes

NameDescription
name str
Required. Extension name shown to the LLM. The name can be up to 128 characters long.
description str
Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning.
api_spec google.cloud.aiplatform_v1beta1.types.ExtensionManifest.ApiSpec
Required. Immutable. The API specification shown to the LLM.
auth_config google.cloud.aiplatform_v1beta1.types.AuthConfig
Required. Immutable. Type of auth supported by this extension.

Classes

ApiSpec

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

The API specification shown to the LLM.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Methods

ExtensionManifest

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

Manifest spec of an Extension needed for runtime execution.