| Package | Description |
|---|---|
| com.amazonaws.services.bedrockruntime.model |
| Modifier and Type | Method and Description |
|---|---|
ToolChoice |
ToolChoice.clone() |
ToolChoice |
ToolConfiguration.getToolChoice()
If supported by model, forces the model to request a tool.
|
ToolChoice |
ToolChoice.withAny(AnyToolChoice any)
The model must request at least one tool (no text is generated).
|
ToolChoice |
ToolChoice.withAuto(AutoToolChoice auto)
(Default).
|
ToolChoice |
ToolChoice.withTool(SpecificToolChoice tool)
The Model must request the specified tool.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ToolConfiguration.setToolChoice(ToolChoice toolChoice)
If supported by model, forces the model to request a tool.
|
ToolConfiguration |
ToolConfiguration.withToolChoice(ToolChoice toolChoice)
If supported by model, forces the model to request a tool.
|
Copyright © 2024. All rights reserved.