AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice class
Constructors
-
AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice({Input<
Map< ? any, Input<String, dynamic> ?>Map< ? auto, Input<String, dynamic> ?>AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoiceTool?> ? tool}) -
Creates a new AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice.
anyDefines 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.autoDefines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.toolDefines 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.const -
AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoice.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
any
→ Input<
Map< ?String, dynamic> ?> -
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.
final
-
auto
→ Input<
Map< ?String, dynamic> ?> -
Defines tools. The model automatically decides whether to call a tool or to generate text instead. This object has no fields.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tool
→ Input<
AgentPromptVariantTemplateConfigurationChatToolConfigurationToolChoiceTool?> ? -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited