Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/quota_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Before deploying the accelerator, **ensure sufficient quota availability** for the required model.

### Login if you have not done so already
```
azd auth login
```

### 📌 Default Models & Capacities:
```
gpt-4o:30, gpt-4o-mini:30, gpt-4:30, text-embedding-ada-002:80
Expand Down
2 changes: 1 addition & 1 deletion infra/deploy_app_service.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param HostingPlanName string = '${ solutionName }-app-service-plan'
)
// param HostingPlanSku string = 'B1'

param HostingPlanSku string = 'P0v3'
param HostingPlanSku string = 'B2'

@description('Name of Web App')
param WebsiteName string = '${ solutionName }-app-service'
Expand Down
50 changes: 25 additions & 25 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "13599865329986757489"
"version": "0.34.44.8038",
"templateHash": "9207690475359141802"
}
},
"parameters": {
Expand Down Expand Up @@ -128,8 +128,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "8800226751863900201"
"version": "0.34.44.8038",
"templateHash": "2718062317870371098"
}
},
"parameters": {
Expand Down Expand Up @@ -259,8 +259,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "4317523167912536944"
"version": "0.34.44.8038",
"templateHash": "11024517080548002305"
}
},
"parameters": {
Expand Down Expand Up @@ -402,8 +402,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "319562905704482740"
"version": "0.34.44.8038",
"templateHash": "7463011266889657341"
}
},
"parameters": {
Expand Down Expand Up @@ -1093,8 +1093,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "14620142974675285735"
"version": "0.34.44.8038",
"templateHash": "17679659647877785824"
}
},
"parameters": {
Expand Down Expand Up @@ -1277,8 +1277,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "12347068855899407617"
"version": "0.34.44.8038",
"templateHash": "573049773979289587"
}
},
"parameters": {
Expand Down Expand Up @@ -1489,8 +1489,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "16605082293199555822"
"version": "0.34.44.8038",
"templateHash": "12523803244328608887"
}
},
"parameters": {
Expand Down Expand Up @@ -1712,8 +1712,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "7497154856203442649"
"version": "0.34.44.8038",
"templateHash": "12449758432080186673"
}
},
"parameters": {
Expand Down Expand Up @@ -1924,8 +1924,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "6738503368906728468"
"version": "0.34.44.8038",
"templateHash": "17199249570586107558"
}
},
"parameters": {
Expand Down Expand Up @@ -2156,8 +2156,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "13542795043218377011"
"version": "0.34.44.8038",
"templateHash": "8392442477995673035"
}
},
"parameters": {
Expand Down Expand Up @@ -2398,8 +2398,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "18414416216987649125"
"version": "0.34.44.8038",
"templateHash": "10339009027263620768"
}
},
"parameters": {
Expand Down Expand Up @@ -2513,8 +2513,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "5835426116727035307"
"version": "0.34.44.8038",
"templateHash": "2689043508944421407"
}
},
"parameters": {
Expand All @@ -2535,7 +2535,7 @@
},
"HostingPlanSku": {
"type": "string",
"defaultValue": "P0v3",
"defaultValue": "B2",
"allowedValues": [
"F1",
"D1",
Expand Down
4 changes: 3 additions & 1 deletion src/App/WebApp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ RUN apk add --no-cache --virtual .build-deps \
libpq

COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt \

RUN pip install --upgrade pip setuptools wheel \
&& pip install --no-cache-dir -r /usr/src/app/requirements.txt \
&& rm -rf /root/.cache

# Copy backend source code
Expand Down
Loading