# TreatmentAsset

Describes an output asset produced by a treatment run.

Class 

`IntelligenceX.Treatment`

**Namespace**

`IntelligenceX.Treatment`

**Assembly**

`IntelligenceX`

**Source**

[TreatmentResult.cs:66](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L66)

**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

- Property [TreatmentResult.Assets](/api/intelligencex-treatment-treatmentresult/#property-assets)

### Accepted by parameters 1

- Constructor [TreatmentResult.TreatmentResult](/api/intelligencex-treatment-treatmentresult/#constructor-ctor-string-string-string-intelligencex-json-jsonvalue-collections-generic-ireadonlylist-intelligencex-treatment-treatmentasset-object-collections-generic-ireadonlydictionary-system-string-system-string) parameter `assets`

Filter members 

Show inherited

## 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)` [#](#constructor-ctor-string-intelligencex-treatment-treatmentoutputmodality-string-string-uri-string-string-string-string-string-string-string-collections-generic-ireadonlylist-system-string-object)

[TreatmentResult.cs:66](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L66)

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**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string? Id { get; }` [#](#property-id)

[TreatmentResult.cs:88](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L88)

Asset id.

`public TreatmentOutputModality Modality { get; }` [#](#property-modality)

[TreatmentResult.cs:92](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L92)

Asset modality.

`public string? Purpose { get; }` [#](#property-purpose)

[TreatmentResult.cs:96](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L96)

Asset purpose.

`public string? Path { get; }` [#](#property-path)

[TreatmentResult.cs:100](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L100)

Local path to the asset.

`public Uri? Uri { get; }` [#](#property-uri)

[TreatmentResult.cs:104](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L104)

External URI to the asset.

`public string? MediaType { get; }` [#](#property-mediatype)

[TreatmentResult.cs:108](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L108)

Asset media type.

`public string? AltText { get; }` [#](#property-alttext)

[TreatmentResult.cs:112](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L112)

Suggested alt text.

`public string? Caption { get; }` [#](#property-caption)

[TreatmentResult.cs:116](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L116)

Suggested caption.

`public string? Credit { get; }` [#](#property-credit)

[TreatmentResult.cs:120](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L120)

Suggested credit or attribution.

`public string? Model { get; }` [#](#property-model)

[TreatmentResult.cs:124](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L124)

Provider model that produced the asset.

`public string? Prompt { get; }` [#](#property-prompt)

[TreatmentResult.cs:128](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L128)

Prompt used to produce the asset.

`public string? RevisedPrompt { get; }` [#](#property-revisedprompt)

[TreatmentResult.cs:132](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L132)

Provider revised prompt when available.

`public IReadOnlyList<string> SourceInputIds { get; }` [#](#property-sourceinputids)

[TreatmentResult.cs:136](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L136)

Source input ids that influenced the asset.

`public object? Raw { get; }` [#](#property-raw)

[TreatmentResult.cs:140](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/TreatmentResult.cs#L140)

Raw provider output for this asset.

<!-- PowerForge markdown artifact sha256:BBE20C1F44E128A4E9B9CCDE2A6A40781EB351DA01D9EC3B188D094D0DB1EA1C -->
