AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoiceArgs

Properties

Link copied to clipboard

Defines tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. This object has no fields.

Link copied to clipboard

Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.

Link copied to clipboard

Defines a specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response. See Named Tool for more information.

Functions

Link copied to clipboard
open override fun toJava(): AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoiceArgs