Companion

  • none means the model will not call any tool and instead generates a message.

  • auto means the model can pick between generating a message or calling one or more tools.

  • required means the model must call one or more tools.

Properties

Link copied to clipboard

Represents the auto mode for invoking tools in the OpenAI system.

Link copied to clipboard

Represents the none mode for invoking tools in the OpenAI system.

Link copied to clipboard

Represents the required mode for invoking tools in the OpenAI system.

Functions

Link copied to clipboard

Creates a function tool with the specified name.