Class ToolUseExample (1.49.0)

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

A single example of the tool usage.

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

Attributes

NameDescription
extension_operation google.cloud.aiplatform_v1beta1.types.ToolUseExample.ExtensionOperation
Extension operation to call. This field is a member of oneof_ Target.
function_name str
Function name to call. This field is a member of oneof_ Target.
display_name str
Required. The display name for example.
query str
Required. Query that should be routed to this tool.
request_params google.protobuf.struct_pb2.Struct
Request parameters used for executing this tool.
response_params google.protobuf.struct_pb2.Struct
Response parameters generated by this tool.
response_summary str
Summary of the tool response to the user query.

Classes

ExtensionOperation

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

Identifies one operation of the extension.

Methods

ToolUseExample

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

A single example of the tool usage.

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