Skip to content

Commit 99474e8

Browse files
committed
Add support for chat history feature to bicep
1 parent c6fd15c commit 99474e8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

infra/main.bicep

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ param useSpeechInputBrowser bool = false
183183
param useSpeechOutputBrowser bool = false
184184
@description('Use Azure speech service for reading out text')
185185
param useSpeechOutputAzure bool = false
186+
@description('Use chat history feature in browser')
187+
param useChatHistoryBrowser bool = false
186188
@description('Show options to use vector embeddings for searching in the app UI')
187189
param useVectors bool = false
188190
@description('Use Built-in integrated Vectorization feature of AI Search to vectorize and ingest documents')
@@ -314,6 +316,7 @@ var appEnvVariables = {
314316
USE_SPEECH_INPUT_BROWSER: useSpeechInputBrowser
315317
USE_SPEECH_OUTPUT_BROWSER: useSpeechOutputBrowser
316318
USE_SPEECH_OUTPUT_AZURE: useSpeechOutputAzure
319+
USE_CHAT_HISTORY_BROWSER: useChatHistoryBrowser
317320
// Shared by all OpenAI deployments
318321
OPENAI_HOST: openAiHost
319322
AZURE_OPENAI_EMB_MODEL_NAME: embedding.modelName

infra/main.parameters.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
"useSpeechOutputAzure": {
165165
"value": "${USE_SPEECH_OUTPUT_AZURE=false}"
166166
},
167+
"useChatHistoryBrowser": {
168+
"value": "${USE_CHAT_HISTORY_BROWSER=false}"
169+
},
167170
"speechServiceName": {
168171
"value": "${AZURE_SPEECH_SERVICE}"
169172
},

0 commit comments

Comments
 (0)