AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice constructor

const AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice({
  1. Input<Map<String, dynamic>?>? any,
  2. Input<Map<String, dynamic>?>? auto,
  3. Input<AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoiceTool?>? tool,
})

Creates a new AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice. any 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. auto Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields. tool 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.

Implementation

const AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice({
  this.any,
  this.auto,
  this.tool,
});