---
title: "ChatMessages"
---

Chat completion message with role-based discrimination


## Supported Types

### `components.ChatAssistantMessage`

```python
value: components.ChatAssistantMessage = /* values here */
```

### `components.ChatDeveloperMessage`

```python
value: components.ChatDeveloperMessage = /* values here */
```

### `components.ChatSystemMessage`

```python
value: components.ChatSystemMessage = /* values here */
```

### `components.ChatToolMessage`

```python
value: components.ChatToolMessage = /* values here */
```

### `components.ChatUserMessage`

```python
value: components.ChatUserMessage = /* values here */
```

