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

Add AI Speech #242

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
14 changes: 14 additions & 0 deletions infrastructure/terraform/ai.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ module "open_ai" {
cognitive_service_deployments = var.cognitive_service_deployments
}

module "ai_speech" {
source = "./modules/aoai"

location = local.location
resource_group_name = azurerm_resource_group.ai.name
tags = var.tags
cognitive_service_name = local.speech_ai_name
cognitive_service_kind = "SpeechServices"
cognitive_service_sku = "S0"
log_analytics_workspace_id = module.azure_log_analytics.log_analytics_id
subnet_id = var.subnet_id
customer_managed_key = null
}

module "videoindexer" {
source = "./modules/videoindexer"

Expand Down
1 change: 1 addition & 0 deletions infrastructure/terraform/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ locals {
ai_rg = "${local.prefix}-ai"
videoindexer_name = "${local.prefix}-vi"
open_ai_name = "${local.prefix}-aoai"
speech_ai_name = "${local.prefix}-speech"
search_service_name = lower(replace("${local.prefix}-search", "/[^a-z0-9]/", ""))
docintel_service_name = "${local.prefix}-docintel"

Expand Down