forked from jldeen/contoso-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure.yaml
35 lines (33 loc) · 1.24 KB
/
azure.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: contoso-chat
metadata:
template: contoso-chat@0.0.1-beta
workflows:
up:
steps:
- azd: provision
- azd: deploy
hooks:
postprovision:
shell: sh
continueOnError: false
interactive: true
run: ./infra/hooks/postprovision.sh
################################################################
# The section below configures the new `ai.endpoint` resource
# used for the Azure AI based chat service (application)
################################################################
services:
chat:
host: ai.endpoint
language: python
config:
workspace: ${AZUREAI_PROJECT_NAME}
environment:
path: ./deployment/environment.yaml
model:
path: ./deployment/chat-model.yaml
deployment:
path: ./deployment/chat-deployment.yaml
overrides:
environment_variables.PRT_CONFIG_OVERRIDE: deployment.subscription_id=${AZURE_SUBSCRIPTION_ID},deployment.resource_group=${AZURE_RESOURCE_GROUP},deployment.workspace_name=${AZUREAI_PROJECT_NAME},deployment.endpoint_name=${AZUREAI_ENDPOINT_NAME},deployment.deployment_name=${AZUREAI_DEPLOYMENT_NAME}