# Wire up Azure OpenAI completion provider \(\#8646\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/eb1ab69606080f1f76881067c25e174c3aba7f1a)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: eb1ab69606080f1f76881067c25e174c3aba7f1a

Requested commit: eb1ab69606080f1f76881067c25e174c3aba7f1a

Commit: eb1ab69606080f1f76881067c25e174c3aba7f1a

Tree: c48f15131d84f0cd722949b0b6833a94daface0f

Author: Marshall Bowers

Committer: GitHub

## Message

````
Wire up Azure OpenAI completion provider (#8646)

This PR wires up support for [Azure
OpenAI](https://learn.microsoft.com/en-us/azure/ai-services/openai/overview)
as an alternative AI provider in the assistant panel.

This can be configured using the following in the settings file:

```json
{
  "assistant": {
    "provider": {
      "type": "azure_openai",
      "api_url": "https://{your-resource-name}.openai.azure.com",
      "deployment_id": "gpt-4",
      "api_version": "2023-05-15"
    }
  },
}
```

You will need to deploy a model within Azure and update the settings
accordingly.

Release Notes:

- N/A
````

## Parents

- [7c1ef966f3fe6b5ac22774d10dd55b91126d355a](https://git.cafe/gitcafe/zed/commit/7c1ef966f3fe6b5ac22774d10dd55b91126d355a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/eb1ab69606080f1f76881067c25e174c3aba7f1a?format=markdown)
