From 99474e83a6240e2b5b6f2530885815c163025d58 Mon Sep 17 00:00:00 2001 From: Hiroshi Fujita Date: Wed, 2 Oct 2024 00:04:06 +0000 Subject: [PATCH] Add support for chat history feature to bicep --- infra/main.bicep | 3 +++ infra/main.parameters.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/infra/main.bicep b/infra/main.bicep index 04c4832c10..2a5e04c7ac 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -183,6 +183,8 @@ param useSpeechInputBrowser bool = false param useSpeechOutputBrowser bool = false @description('Use Azure speech service for reading out text') param useSpeechOutputAzure bool = false +@description('Use chat history feature in browser') +param useChatHistoryBrowser bool = false @description('Show options to use vector embeddings for searching in the app UI') param useVectors bool = false @description('Use Built-in integrated Vectorization feature of AI Search to vectorize and ingest documents') @@ -314,6 +316,7 @@ var appEnvVariables = { USE_SPEECH_INPUT_BROWSER: useSpeechInputBrowser USE_SPEECH_OUTPUT_BROWSER: useSpeechOutputBrowser USE_SPEECH_OUTPUT_AZURE: useSpeechOutputAzure + USE_CHAT_HISTORY_BROWSER: useChatHistoryBrowser // Shared by all OpenAI deployments OPENAI_HOST: openAiHost AZURE_OPENAI_EMB_MODEL_NAME: embedding.modelName diff --git a/infra/main.parameters.json b/infra/main.parameters.json index 3575cd8d5b..2f8e29aeda 100644 --- a/infra/main.parameters.json +++ b/infra/main.parameters.json @@ -164,6 +164,9 @@ "useSpeechOutputAzure": { "value": "${USE_SPEECH_OUTPUT_AZURE=false}" }, + "useChatHistoryBrowser": { + "value": "${USE_CHAT_HISTORY_BROWSER=false}" + }, "speechServiceName": { "value": "${AZURE_SPEECH_SERVICE}" },