Skip to content

Commit 1708d02

Browse files
author
Matthew Harris
committed
Adjusted for PIA
1 parent c71dbee commit 1708d02

File tree

2 files changed

+36
-8
lines changed

2 files changed

+36
-8
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# Introduction
2+
3+
This repo is a fork of [this](https://github.com/jelledruyts/azure-ai-search-lab) Azure AI search lab, modified for PIA.
4+
5+
Key changes:
6+
7+
1. Template changes to account for quotas
8+
2. Github actions to push application builds to to PIA Docker and to use those
9+
10+
## Deploying this template
11+
12+
You can use the button as displayed in GitHub, or ...
13+
14+
If you install Azure CLI, these templates can be deoplyed with ...
15+
16+
```
17+
az login
18+
az deployment group create --resource-group <resource-group-name> --template-file <path-to-template-file>
19+
```
20+
21+
Be sure to use a test resource group like `rg-ai4i-test-eus2-001`, for example ...
22+
23+
`az deployment group create --resource-group rg-ai4i-test-eus2-001 --template-file search/search_stack.json`
24+
25+
# ==================== ORIGINAL README ===============
26+
27+
28+
129
# Azure AI Search Lab
230

331
## About

azuredeploy.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"gptModelName": {
2424
"type": "String",
2525
"minLength": 1,
26-
"defaultValue": "gpt-35-turbo"
26+
"defaultValue": "gpt-4o-mini"
2727
},
2828
"gptModelVersion": {
2929
"type": "String",
3030
"minLength": 1,
31-
"defaultValue": "0301"
31+
"defaultValue": "2024-07-18"
3232
},
3333
"searchServiceSku": {
3434
"type": "String",
@@ -135,7 +135,7 @@
135135
],
136136
"sku": {
137137
"name": "Standard",
138-
"capacity": 50
138+
"capacity": 8
139139
},
140140
"properties": {
141141
"model": {
@@ -155,7 +155,7 @@
155155
],
156156
"sku": {
157157
"name": "Standard",
158-
"capacity": 50
158+
"capacity": 8
159159
},
160160
"properties": {
161161
"model": {
@@ -172,7 +172,7 @@
172172
"location": "[resourceGroup().location]",
173173
"kind": "linux",
174174
"sku": {
175-
"Name": "EP1"
175+
"Name": "B1"
176176
},
177177
"properties": {
178178
"reserved": true
@@ -192,7 +192,7 @@
192192
"properties": {
193193
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('functionPlanName'))]",
194194
"siteConfig": {
195-
"linuxFxVersion": "DOCKER|ghcr.io/jelledruyts/azure-aisearch-functionapp-python:latest",
195+
"linuxFxVersion": "DOCKER|ghcr.io/pia/azure-aisearch-functionapp-python:latest",
196196
"appSettings": [
197197
{
198198
"name": "FUNCTIONS_EXTENSION_VERSION",
@@ -260,7 +260,7 @@
260260
"properties": {
261261
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('functionPlanName'))]",
262262
"siteConfig": {
263-
"linuxFxVersion": "DOCKER|ghcr.io/jelledruyts/azure-aisearch-functionapp-dotnet:latest",
263+
"linuxFxVersion": "DOCKER|ghcr.io/pia/azure-aisearch-functionapp-dotnet:latest",
264264
"appSettings": [
265265
{
266266
"name": "FUNCTIONS_EXTENSION_VERSION",
@@ -363,7 +363,7 @@
363363
"clientAffinityEnabled": false,
364364
"httpsOnly": true,
365365
"siteConfig": {
366-
"linuxFxVersion": "DOCKER|ghcr.io/jelledruyts/azure-aisearch-webapp",
366+
"linuxFxVersion": "DOCKER|ghcr.io/pia/azure-aisearch-webapp",
367367
"alwaysOn": true,
368368
"appSettings": [
369369
{

0 commit comments

Comments
 (0)