IntelligenceX

API Reference

Class

TreatmentAsset

Namespace IntelligenceX.Treatment
Assembly IntelligenceX
Modifiers sealed

Describes an output asset produced by a treatment run.

Inheritance

  • Object
  • TreatmentAsset

Usage

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

Returned or exposed by

Accepted by parameters

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 System.String requiredposition: 0
modality IntelligenceX.Treatment.TreatmentOutputModality requiredposition: 1
purpose System.String requiredposition: 2
path System.String requiredposition: 3
uri System.Uri requiredposition: 4
mediaType System.String requiredposition: 5
altText System.String requiredposition: 6
caption System.String requiredposition: 7
credit System.String requiredposition: 8
model System.String requiredposition: 9
prompt System.String requiredposition: 10
revisedPrompt System.String requiredposition: 11
sourceInputIds System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 12
raw System.Object = null optionalposition: 13

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.