Class ComputerUse
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Tool to support computer use.
public class ComputerUse
- Inheritance
-
ComputerUse
- Inherited Members
- Extension Methods
Properties
DisabledSafetyPolicies
Safety policies to disable, so the model does not ask for confirmation for those actions.
[JsonPropertyName("disabledSafetyPolicies")]
public List<SafetyPolicy>? DisabledSafetyPolicies { get; set; }
Property Value
EnablePromptInjectionDetection
Whether to detect prompt injection in content seen while operating the computer.
[JsonPropertyName("enablePromptInjectionDetection")]
public bool? EnablePromptInjectionDetection { get; set; }
Property Value
- bool?
Environment
Required. The environment being operated.
[JsonPropertyName("environment")]
public Environment? Environment { get; set; }
Property Value
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:
- Using a more restricted / different action space.
- Improving the definitions / instructions of predefined functions.
[JsonPropertyName("excludedPredefinedFunctions")]
public List<string>? ExcludedPredefinedFunctions { get; set; }