In this tutorial, you will learn how to quickly launch AI DIAL Chat with a custom model created in Azure OpenAI Studio.
-
Docker engine installed on your machine (Docker Compose Version 2.20.0 +).
Refer to Docker documentation.
-
Account in MS Azure OpenAI Studio.
Refer to Create and Deploy OpenAI Model in Azure to learn how to create and deploy a model in your MS Azure.
Download AI DIAL.
In the dial-docker-compose/model/core folder, you can find a config.json configuration file.
In config.json
, you can add your Azure model credentials to the chat configuration:
-
Supply your Azure API Keys for your deployments for the
key
parameter. -
Replace
http://azure_deployment_host
with your GPT endpoint for theendpoint
parameter. Note: in the endpoint, replacegpt-4
with your Azure deployment name, in case it is different."upstreams": [ { "endpoint": "http://azure_deployment_host/openai/deployments/gpt-4/chat/completions", "key": "AZURE_MODEL_API_KEY" } ]
Refer to Create and Deploy OpenAI Model in Azure to learn how to create and deploy a model in MS Azure.
- Run
docker compose up
from the folder with the docker-compose file. - Open http://localhost:3000/ in your browser to launch the AI DIAL Chat application.