# TreatmentChatOutput

Provider-neutral chat output used by treatment providers.

Class 

`IntelligenceX.Treatment`

**Namespace**

`IntelligenceX.Treatment`

**Assembly**

`IntelligenceX`

**Source**

[OpenAIChatTreatmentProvider.cs:312](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L312)

**Modifiers**

sealed

Provider-neutral chat output used by treatment providers.

## Inheritance

- object
- TreatmentChatOutput

## 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 [TreatmentChatResponse.Outputs](/api/intelligencex-treatment-treatmentchatresponse/#property-outputs)

### Accepted by parameters 1

- Constructor [TreatmentChatResponse.TreatmentChatResponse](/api/intelligencex-treatment-treatmentchatresponse/#constructor-ctor-string-string-collections-generic-ireadonlylist-intelligencex-treatment-treatmentchatoutput-object) parameter `outputs`

Filter members 

Show inherited

## Constructors

`public TreatmentChatOutput(string? id, string type, string? text = null, string? imageUrl = null, string? imagePath = null, string? base64 = null, string? mimeType = null, string? revisedPrompt = null, object? raw = null)` [#](#constructor-ctor-string-string-string-string-string-string-string-string-object)

[OpenAIChatTreatmentProvider.cs:312](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L312)

Initializes a new treatment chat output.

Parameters

**id string? required**

**type string required**

**text string? = null optional**

**imageUrl string? = null optional**

**imagePath string? = null optional**

**base64 string? = null optional**

**mimeType string? = null optional**

**revisedPrompt string? = null optional**

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

[OpenAIChatTreatmentProvider.cs:328](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L328)

Output id.

`public string Type { get; }` [#](#property-type)

[OpenAIChatTreatmentProvider.cs:332](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L332)

Output type.

`public string? Text { get; }` [#](#property-text)

[OpenAIChatTreatmentProvider.cs:336](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L336)

Text output.

`public string? ImageUrl { get; }` [#](#property-imageurl)

[OpenAIChatTreatmentProvider.cs:340](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L340)

Image URL.

`public string? ImagePath { get; }` [#](#property-imagepath)

[OpenAIChatTreatmentProvider.cs:344](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L344)

Local image path.

`public string? Base64 { get; }` [#](#property-base64)

[OpenAIChatTreatmentProvider.cs:348](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L348)

Base64 image payload.

`public string? MimeType { get; }` [#](#property-mimetype)

[OpenAIChatTreatmentProvider.cs:352](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L352)

Output MIME type.

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

[OpenAIChatTreatmentProvider.cs:356](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L356)

Revised prompt returned by the provider.

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

[OpenAIChatTreatmentProvider.cs:360](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L360)

Raw provider output.

`public bool IsImage { get; }` [#](#property-isimage)

[OpenAIChatTreatmentProvider.cs:364](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Treatment/OpenAIChatTreatmentProvider.cs#L364)

Whether this output is an image.

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