Class ToolComputerUse.Builder
- Enclosing class:
- ToolComputerUse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ToolComputerUse
build()
abstract ToolComputerUse.Builder
environment
(Environment environment) Setter for environment.environment
(Environment.Known knownType) Setter for environment given a known enum.environment
(String environment) Setter for environment given a string.excludedPredefinedFunctions
(String... excludedPredefinedFunctions) Setter for excludedPredefinedFunctions.abstract ToolComputerUse.Builder
excludedPredefinedFunctions
(List<String> excludedPredefinedFunctions) Setter for excludedPredefinedFunctions.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
environment
Setter for environment.environment: Required. The environment being operated.
-
environment
Setter for environment given a known enum.environment: Required. The environment being operated.
-
environment
Setter for environment given a string.environment: Required. The environment being operated.
-
excludedPredefinedFunctions
public abstract ToolComputerUse.Builder excludedPredefinedFunctions(List<String> excludedPredefinedFunctions) Setter for excludedPredefinedFunctions.excludedPredefinedFunctions: By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
-
excludedPredefinedFunctions
Setter for excludedPredefinedFunctions.excludedPredefinedFunctions: By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.
-
build
-