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

# autogen.oai.openai_utils.create_gpt_assistant

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### create\_gpt\_assistant

```python theme={null}
create_gpt_assistant(
    client: OpenAI,
    name: str,
    instructions: str,
    model: str,
    assistant_config: dict[str, Any]
) -> Assistant
```

Create a openai gpt assistant

<b>Parameters:</b>

| Name               | Description                      |
| ------------------ | -------------------------------- |
| `client`           | **Type:** OpenAI                 |
| `name`             | **Type:** str                    |
| `instructions`     | **Type:** str                    |
| `model`            | **Type:** str                    |
| `assistant_config` | **Type:** dict\[str, typing.Any] |

<br />
