Class InteractionEnvironment
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
A remote sandbox environment configuration for agent interactions.
public sealed class InteractionEnvironment
- Inheritance
-
InteractionEnvironment
- Inherited Members
- Extension Methods
Properties
Env
Environment variables. Each value is a string or an object {"value": "..."} /
{"credential": "credential-id"}.
[JsonPropertyName("env")]
public Dictionary<string, JsonNode>? Env { get; set; }
Property Value
EnvironmentId
Reuse an existing environment by ID.
[JsonPropertyName("environment_id")]
public string? EnvironmentId { get; set; }
Property Value
Network
Network configuration: the string "disabled" or an object
{"allowlist": [{"domain": "...", "credential": "...", "transform": {...}}]}.
[JsonPropertyName("network")]
public JsonNode? Network { get; set; }
Property Value
Sources
Sources to mount into the environment.
[JsonPropertyName("sources")]
public List<InteractionEnvironmentSource>? Sources { get; set; }
Property Value
Type
The environment type; always remote.
[JsonPropertyName("type")]
public string? Type { get; set; }