> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat

> Chat utilities for openai model integration and logging utilities.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/logger/openai/chat.py)

## [MaximOpenAIChat](/sdk/python/references/logger/openai/chat)

```python theme={null}
class MaximOpenAIChat(Chat)
```

This class represents a [MaximOpenAIChat](/sdk/python/references/logger/openai/chat).

#### \_\_init\_\_

```python theme={null}
def __init__(client: OpenAI, logger: Logger)
```

This class represents a [MaximOpenAIChat](/sdk/python/references/logger/openai/chat).

**Arguments**:

| Name     | Description        |
| -------- | ------------------ |
| `client` | The client to use. |
| `logger` | The logger to use. |

#### completions

```python theme={null}
@property
def completions() -> MaximOpenAIChatCompletions
```

This property represents the completions object of [MaximOpenAIChat](/sdk/python/references/logger/openai/chat).
