@@ -63,7 +63,7 @@ variable "ai_vision_sku" {
6363variable "ai_vision_tags" {
6464 description = " Tags to be applied to the AI Vision resource"
6565 type = map (string )
66- default = {
66+ default = {
6767 Environment = " Development"
6868 Service = " AI Vision"
6969 }
@@ -92,3 +92,52 @@ variable "throughput" {
9292 description = " The throughput (RU/s) to be allocated to the Cosmos DB SQL database or container."
9393 default = 400
9494}
95+
96+ # These variables configure the AI Studio Hub, Project, and OpenAI services
97+ # for LLM-powered PDF extraction and analysis capabilities
98+
99+ variable "environment" {
100+ description = " Environment tag for resources (dev, staging, prod). Used for resource tagging and naming conventions."
101+ type = string
102+ default = " dev"
103+
104+ validation {
105+ condition = contains ([" dev" , " staging" , " prod" ], var. environment )
106+ error_message = " Environment must be one of: dev, staging, prod."
107+ }
108+ }
109+
110+ # Azure OpenAI Service Configuration
111+ variable "openai_account_name" {
112+ description = " The name of the Azure OpenAI account. Must be globally unique and support GPT-4 models for PDF analysis."
113+ type = string
114+ }
115+
116+ variable "openai_location" {
117+ description = " The Azure region for OpenAI resources. Must be a region that supports Azure OpenAI service (eastus, westeurope, etc.)"
118+ type = string
119+ default = " eastus" # Default to East US which supports OpenAI
120+
121+ validation {
122+ condition = contains ([" eastus" , " westeurope" , " southcentralus" , " westus" ], var. openai_location )
123+ error_message = " OpenAI location must be in a region that supports Azure OpenAI service."
124+ }
125+ }
126+
127+ # AI Studio Hub Configuration
128+ variable "ai_hub_name" {
129+ description = " The name of the AI Studio Hub. Central resource for managing AI projects and shared resources."
130+ type = string
131+ }
132+
133+ # AI Project Configuration
134+ variable "ai_project_name" {
135+ description = " The name of the AI Studio Project. Specific workspace for PDF extraction and skills analysis workflows."
136+ type = string
137+ }
138+
139+ # AI Storage Configuration
140+ variable "ai_storage_account_name" {
141+ description = " The name of the storage account for AI Hub and Project. Stores model artifacts, experiments, and training data."
142+ type = string
143+ }
0 commit comments