Skip to content

Commit c6ce3b0

Browse files
making sourceurl field in search index searchable and changing baseurl for testing
1 parent 7f89715 commit c6ce3b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ var solutionPrefix = 'dg${padLeft(take(uniqueId, 12), 12, '0')}'
6262
var resourceGroupLocation = resourceGroup().location
6363

6464
var solutionLocation = resourceGroupLocation
65-
var baseUrl = 'https://raw.githubusercontent.com/microsoft/Generic-Build-your-own-copilot-Solution-Accelerator/dev/'
65+
var baseUrl = 'https://raw.githubusercontent.com/microsoft/Generic-Build-your-own-copilot-Solution-Accelerator/add-appser-envvar-values/'
6666

6767
var ApplicationInsightsName = 'appins-${solutionPrefix}'
6868
var WorkspaceName = 'worksp-${solutionPrefix}'

infra/main.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "4863966964832108128"
8+
"templateHash": "12213473806385436916"
99
}
1010
},
1111
"parameters": {
@@ -92,7 +92,7 @@
9292
"solutionPrefix": "[format('dg{0}', padLeft(take(variables('uniqueId'), 12), 12, '0'))]",
9393
"resourceGroupLocation": "[resourceGroup().location]",
9494
"solutionLocation": "[variables('resourceGroupLocation')]",
95-
"baseUrl": "https://raw.githubusercontent.com/microsoft/Generic-Build-your-own-copilot-Solution-Accelerator/dev/",
95+
"baseUrl": "https://raw.githubusercontent.com/microsoft/Generic-Build-your-own-copilot-Solution-Accelerator/add-appser-envvar-values/",
9696
"ApplicationInsightsName": "[format('appins-{0}', variables('solutionPrefix'))]",
9797
"WorkspaceName": "[format('worksp-{0}', variables('solutionPrefix'))]"
9898
},

infra/scripts/index_scripts/01_create_search_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def create_search_index():
5757
SimpleField(name="id", type=SearchFieldDataType.String, key=True),
5858
SimpleField(name="chunk_id", type=SearchFieldDataType.String),
5959
SearchField(name="content", type=SearchFieldDataType.String),
60-
SimpleField(name="sourceurl", type=SearchFieldDataType.String),
60+
SearchField(name="sourceurl", type=SearchFieldDataType.String),
6161
SearchField(name="contentVector", type=SearchFieldDataType.Collection(SearchFieldDataType.Single), \
6262
vector_search_dimensions=1536,vector_search_profile_name="myHnswProfile"
6363
)

0 commit comments

Comments
 (0)