Contents

init(name:description:)

Creates a tool for recognizing text in images.

Declaration

init(name: String? = nil, description: String? = nil)

Parameters

  • name:

    The name of the tool as exposed to the model. If not provided, a default name is used.

  • description:

    A description of what the tool does, used by the model to determine when to call it. If not provided, a default description is used.