Class Extension (1.49.0)

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

Extensions are tools for large language models to access external data, run computations, etc.

Attributes

NameDescription
name str
Identifier. The resource name of the Extension.
display_name str
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
description str
Optional. The description of the Extension.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this Extension was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this Extension was most recently updated.
etag str
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
manifest google.cloud.aiplatform_v1beta1.types.ExtensionManifest
Required. Manifest of the Extension.
extension_operations MutableSequence[google.cloud.aiplatform_v1beta1.types.ExtensionOperation]
Output only. Supported operations.
runtime_config google.cloud.aiplatform_v1beta1.types.RuntimeConfig
Optional. Runtime config controlling the runtime behavior of this Extension.
tool_use_examples MutableSequence[google.cloud.aiplatform_v1beta1.types.ToolUseExample]
Optional. Examples to illustrate the usage of the extension as a tool.
private_service_connect_config google.cloud.aiplatform_v1beta1.types.ExtensionPrivateServiceConnectConfig
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access). If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.

Methods

Extension

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

Extensions are tools for large language models to access external data, run computations, etc.