Class: Aws::BedrockRuntime::Types::ToolConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::ToolConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
Configuration information for the tools that you pass to a model. For more information, see [Tool use (function calling)] in the Amazon Bedrock User Guide.
<note markdown=“1”> This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models.
</note>
[1]: docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#tool_choice ⇒ Types::ToolChoice
If supported by model, forces the model to request a tool.
-
#tools ⇒ Array<Types::Tool>
An array of tools that you want to pass to a model.
Instance Attribute Details
#tool_choice ⇒ Types::ToolChoice
If supported by model, forces the model to request a tool.
2158 2159 2160 2161 2162 2163 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2158 class ToolConfiguration < Struct.new( :tools, :tool_choice) SENSITIVE = [] include Aws::Structure end |
#tools ⇒ Array<Types::Tool>
An array of tools that you want to pass to a model.
2158 2159 2160 2161 2162 2163 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 2158 class ToolConfiguration < Struct.new( :tools, :tool_choice) SENSITIVE = [] include Aws::Structure end |