From e41a78aa8a6c97be3fd446ba29beaf5a9a7ad7ef Mon Sep 17 00:00:00 2001 From: Ross Smith Date: Wed, 8 May 2024 19:50:18 +0100 Subject: [PATCH] build: Boolean only accepting a false is causing bicep ERROR in CI (#851) --- infra/main.bicep | 5 +---- infra/main.json | 7 ++----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/infra/main.bicep b/infra/main.bicep index 356c1b9c6..688ab2750 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -84,10 +84,7 @@ param azureSearchTitleColumn string = 'title' @description('Url column') param azureSearchUrlColumn string = 'url' -@description('Use Azure Search Integrated Vectorization (Not yet implemented)') -@allowed([ - false -]) +@description('Use Azure Search Integrated Vectorization') param azureSearchUseIntegratedVectorization bool = false @description('Name of Azure OpenAI Resource') diff --git a/infra/main.json b/infra/main.json index 895bd4122..7fc259a29 100644 --- a/infra/main.json +++ b/infra/main.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.26.170.59819", - "templateHash": "13417848583364624457" + "templateHash": "4288468819912019537" } }, "parameters": { @@ -172,11 +172,8 @@ "azureSearchUseIntegratedVectorization": { "type": "bool", "defaultValue": false, - "allowedValues": [ - false - ], "metadata": { - "description": "Use Azure Search Integrated Vectorization (Not yet implemented)" + "description": "Use Azure Search Integrated Vectorization" } }, "azureOpenAIResourceName": {