Table of Contents

Class InteractionEnvironmentSource

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A source mounted into a remote agent environment.

public sealed class InteractionEnvironmentSource
Inheritance
InteractionEnvironmentSource
Inherited Members
Extension Methods

Properties

Content

The inline content when Type is inline.

[JsonPropertyName("content")]
public string? Content { get; set; }

Property Value

string

Encoding

Optional encoding of the inline content (e.g. base64).

[JsonPropertyName("encoding")]
public string? Encoding { get; set; }

Property Value

string

Source

The source of the environment (e.g. a bucket or repository URL).

[JsonPropertyName("source")]
public string? Source { get; set; }

Property Value

string

Target

Where the source should appear in the environment.

[JsonPropertyName("target")]
public string? Target { get; set; }

Property Value

string

Type

The source type (gcs, inline, repository, skill_registry).

[JsonPropertyName("type")]
public string? Type { get; set; }

Property Value

string