Skip to content

Commit

Permalink
Add support for chat history feature to bicep
Browse files Browse the repository at this point in the history
  • Loading branch information
fujita-h committed Oct 2, 2024
1 parent c6fd15c commit 99474e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions infra/main.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@
"useSpeechOutputAzure": {
"value": "${USE_SPEECH_OUTPUT_AZURE=false}"
},
"useChatHistoryBrowser": {
"value": "${USE_CHAT_HISTORY_BROWSER=false}"
},
"speechServiceName": {
"value": "${AZURE_SPEECH_SERVICE}"
},
Expand Down

0 comments on commit 99474e8

Please sign in to comment.