Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [Bug - 4658] Updated stop sequence to empty string in Bicep #1070

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ param azureOpenAITopP string = '1'
param azureOpenAIMaxTokens string = '1000'

@description('Azure OpenAI Stop Sequence')
param azureOpenAIStopSequence string = '\n'
param azureOpenAIStopSequence string = ''

@description('Azure OpenAI System Message')
param azureOpenAISystemMessage string = 'You are an AI assistant that helps people find information.'
Expand Down Expand Up @@ -338,7 +338,7 @@ var defaultOpenAiDeployments = [

var openAiDeployments = concat(
defaultOpenAiDeployments,
useAdvancedImageProcessing
useAdvancedImageProcessing
? [
{
name: azureOpenAIVisionModel
Expand All @@ -352,7 +352,7 @@ var openAiDeployments = concat(
capacity: azureOpenAIVisionModelCapacity
}
}
]
]
: []
)

Expand Down Expand Up @@ -811,8 +811,8 @@ module workbook './app/workbook.bicep' = {
hostingPlanName: hostingplan.outputs.name
functionName: hostingModel == 'container' ? function_docker.outputs.functionName : function.outputs.functionName
websiteName: hostingModel == 'container' ? web_docker.outputs.FRONTEND_API_NAME : web.outputs.FRONTEND_API_NAME
adminWebsiteName: hostingModel == 'container'
? adminweb_docker.outputs.WEBSITE_ADMIN_NAME
adminWebsiteName: hostingModel == 'container'
? adminweb_docker.outputs.WEBSITE_ADMIN_NAME
: adminweb.outputs.WEBSITE_ADMIN_NAME
eventGridSystemTopicName: eventgrid.outputs.name
logAnalyticsName: monitoring.outputs.logAnalyticsWorkspaceName
Expand Down Expand Up @@ -972,11 +972,11 @@ module storage 'core/storage/storage-account.bicep' = {
sku: {
name: 'Standard_GRS'
}
deleteRetentionPolicy: azureSearchUseIntegratedVectorization
deleteRetentionPolicy: azureSearchUseIntegratedVectorization
? {
enabled: true
days: 7
}
}
: {}
containers: [
{
Expand Down Expand Up @@ -1115,17 +1115,17 @@ output AZURE_TENANT_ID string = tenant().tenantId
output DOCUMENT_PROCESSING_QUEUE_NAME string = queueName
output ORCHESTRATION_STRATEGY string = orchestrationStrategy
output USE_KEY_VAULT bool = useKeyVault
output FRONTEND_WEBSITE_NAME string = hostingModel == 'code'
? web.outputs.FRONTEND_API_URI
output FRONTEND_WEBSITE_NAME string = hostingModel == 'code'
? web.outputs.FRONTEND_API_URI
: web_docker.outputs.FRONTEND_API_URI
output ADMIN_WEBSITE_NAME string = hostingModel == 'code'
? adminweb.outputs.WEBSITE_ADMIN_URI
output ADMIN_WEBSITE_NAME string = hostingModel == 'code'
? adminweb.outputs.WEBSITE_ADMIN_URI
: adminweb_docker.outputs.WEBSITE_ADMIN_URI
output LOGLEVEL string = logLevel
output CONVERSATION_FLOW string = conversationFlow
output USE_ADVANCED_IMAGE_PROCESSING bool = useAdvancedImageProcessing
output ADVANCED_IMAGE_PROCESSING_MAX_IMAGES int = advancedImageProcessingMaxImages
output AZURE_ML_WORKSPACE_NAME string = orchestrationStrategy == 'prompt_flow'
? machineLearning.outputs.workspaceName
output AZURE_ML_WORKSPACE_NAME string = orchestrationStrategy == 'prompt_flow'
? machineLearning.outputs.workspaceName
: ''
output RESOURCE_TOKEN string = resourceToken
output RESOURCE_TOKEN string = resourceToken
Loading
Loading