Class ComputerUse.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.ComputerUse.Builder
- Enclosing class:
- ComputerUse
-
Method Summary
Modifier and TypeMethodDescriptionbuild()disabledSafetyPolicies(List<DisabledSafetyPolicy> disabledSafetyPolicies) Optional.enablePromptInjectionDetection(Boolean enablePromptInjectionDetection) Whether enable the prompt injection detection check on computer-use request.environment(EnvironmentEnum environment) The environment being operated.excludedPredefinedFunctions(List<String> excludedPredefinedFunctions) The list of predefined functions that are excluded from the model call.
-
Method Details
-
disabledSafetyPolicies
public ComputerUse.Builder disabledSafetyPolicies(@Nullable List<DisabledSafetyPolicy> disabledSafetyPolicies) Optional. Disabled safety policies for computer use. -
enablePromptInjectionDetection
public ComputerUse.Builder enablePromptInjectionDetection(@Nullable Boolean enablePromptInjectionDetection) Whether enable the prompt injection detection check on computer-use request. -
environment
The environment being operated. -
excludedPredefinedFunctions
public ComputerUse.Builder excludedPredefinedFunctions(@Nullable List<String> excludedPredefinedFunctions) The list of predefined functions that are excluded from the model call. -
build
-