AgentPromptVariantTemplateConfigurationChatToolConfiguration constructor

const AgentPromptVariantTemplateConfigurationChatToolConfiguration({
  1. Input<AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice?>? toolChoice,
  2. Input<List<AgentPromptVariantTemplateConfigurationChatToolConfigurationTool>?>? tools,
})

Creates a new AgentPromptVariantTemplateConfigurationChatToolConfiguration. toolChoice Defines which tools the model should request when invoked. See Tool Choice for more information. tools A list of tools to pass to a model. See Tool for more information.

Implementation

const AgentPromptVariantTemplateConfigurationChatToolConfiguration({
  this.toolChoice,
  this.tools,
});