# ChatGptResponseFormat class

An object specifying the format that the model must output. Used to enable JSON mode.

```csharp
public class ChatGptResponseFormat
```

## Public Members

| name | description |
| --- | --- |
| [ChatGptResponseFormat](ChatGptResponseFormat/ChatGptResponseFormat.md)() | The default constructor. |
| static [Json](ChatGptResponseFormat/Json.md) { get; } | Gets a new [`ChatGptResponseFormat`](./ChatGptResponseFormat.md) instance with the JSON format type. |
| static [Text](ChatGptResponseFormat/Text.md) { get; } | Gets a new [`ChatGptResponseFormat`](./ChatGptResponseFormat.md) instance with the default text format type. |
| [Type](ChatGptResponseFormat/Type.md) { get; set; } | The format type. |

## See Also

* class [ChatGptResponseFormatTypes](./ChatGptResponseFormatTypes.md)
* namespace [ChatGptNet.Models](../ChatGptNet.md)
* [ChatGptResponseFormat.cs](https://github.com/marcominerva/ChatGptNet/tree/master/src/ChatGptNet/Models/ChatGptResponseFormat.cs)

<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll -->
