IntelligenceX
Class

TreatmentAsset

IntelligenceX.Treatment

Namespace
IntelligenceX.Treatment
Assembly
IntelligenceX
Modifiers
sealed

Describes an output asset produced by a treatment run.

Inheritance

  • object
  • TreatmentAsset

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public TreatmentAsset(string? id, TreatmentOutputModality modality, string? purpose, string? path, Uri? uri, string? mediaType, string? altText, string? caption, string? credit, string? model, string? prompt, string? revisedPrompt, IReadOnlyList<string>? sourceInputIds, object? raw = null) #

Initializes a new treatment asset.

Parameters

id string? required
modality IntelligenceX.Treatment.TreatmentOutputModality required
purpose string? required
path string? required
uri System.Uri? required
mediaType string? required
altText string? required
caption string? required
credit string? required
model string? required
prompt string? required
revisedPrompt string? required
sourceInputIds System.Collections.Generic.IReadOnlyList<string>? required
raw object? = null optional

Properties

public string? Id { get; } #

Asset id.

public TreatmentOutputModality Modality { get; } #

Asset modality.

public string? Purpose { get; } #

Asset purpose.

public string? Path { get; } #

Local path to the asset.

public Uri? Uri { get; } #

External URI to the asset.

public string? MediaType { get; } #

Asset media type.

public string? AltText { get; } #

Suggested alt text.

public string? Caption { get; } #

Suggested caption.

public string? Credit { get; } #

Suggested credit or attribution.

public string? Model { get; } #

Provider model that produced the asset.

public string? Prompt { get; } #

Prompt used to produce the asset.

public string? RevisedPrompt { get; } #

Provider revised prompt when available.

public IReadOnlyList<string> SourceInputIds { get; } #

Source input ids that influenced the asset.

public object? Raw { get; } #

Raw provider output for this asset.