You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment/autoscale_sku.md
+16-34
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,6 @@ You may find better settings to fit your needs. This document explains how this
9
9
10
10
The Azure Functions Service Plan Autoscale settings are defined in the file located at `/infra/core/host/functions/functions.tf`. These settings enable automatic scaling of the Azure Functions Service Plan based on CPU usage metrics.
@@ -29,7 +27,6 @@ The Azure Functions Service Plan Autoscale settings are defined in the file loca
29
27
-**Time Window:**`5 minutes`
30
28
-**Scaling Action:** Decrease capacity by `2` with a cooldown of `2 minutes`.
31
29
32
-
33
30
## App Service Plan Autoscale for Enrichment App
34
31
35
32
### Overview
@@ -58,50 +55,41 @@ The App Service Plan Autoscale settings for the enrichment app are defined in th
58
55
59
56
### Customization
60
57
61
-
To customize the App Service Plan Autoscale settings, modify the parameters mentioned above in the specified Terraform file. And Run the `make infrastructure` command.
62
-
63
-
58
+
To customize the App Service Plan Autoscale settings, modify the parameters mentioned above in the specified terraform files. And Run the `make infrastructure` command.
64
59
65
60
# SKU Settings Documentation
66
61
67
62
### Overview
68
63
69
-
The SKU settings for all Service Plans are defined in the file located at `/infra/main.tf`. The SKU (Stock Keeping Unit) represents the pricing tier or plan for your App Service. It defines the performance, features, and capacity of the App Service.
64
+
The SKU settings for all Service Plans are defined in the file located at `/infra/variables.tf`. The SKU (Stock Keeping Unit) represents the pricing tier or plan for your App Service. It defines the performance, features, and capacity of the App Service.
70
65
More information can be found [here.](https://azure.microsoft.com/en-us/pricing/details/app-service/windows/#purchase-options)
71
66
72
67
## Web App Service Plan SKU
73
68
69
+
**File Location:**`/infra/variables.tf`
74
70
75
-
**File Location:**`/infra/main.tf`
76
-
77
-
#### SKU Settings
78
-
79
-
-**Name:**`S1`
80
-
-**Capacity:**`3`
71
+
### SKU Settings
81
72
73
+
-**appServiceSkuSize**`S1`
74
+
-**appServiceSkuTier**`Standard`
82
75
83
76
## Functions Service Plan SKU
84
77
78
+
**File Location:**`/infra/variables.tf`
85
79
86
-
**File Location:**`/infra/main.tf`
87
-
88
-
#### SKU Settings
80
+
### SKU Settings
89
81
90
-
-**Name:**`S2`
91
-
-**Capacity:**`2`
82
+
-**functionsAppSkuSize**`S2`
83
+
-**functionsAppSkuTie:**`Standard`
92
84
93
85
## Enrichment App Service Plan SKU
94
86
87
+
**File Location:**`/infra/variables.tf`
95
88
96
-
**File Location:**`/infra/main.tf`
89
+
### SKU Settings
97
90
98
-
#### SKU Settings
99
-
100
-
-**Name:**`P1v3`
101
-
-**Tier:**`PremiumV3`
102
-
-**Size:**`P1v3`
103
-
-**Family:**`Pv3`
104
-
-**Capacity:**`1`
91
+
-**enrichmentAppServiceSkuSize**`P1v3`
92
+
-**enrichmentAppServiceSkuTier**`PremiumV3`
105
93
106
94
### Enrichment Message Dequeue Parameter
107
95
There exist a property that can be set in the local.env file called `DEQUEUE_MESSAGE_BATCH_SIZE` and is defaulted in the `infra/main.tf` and `app/enrichment/app.py` to the value of **3**. This means the app will process 3 messages from the queue at a time. This is found to be the most optimal with the existing configuration but can be increased if you also increase the enrichment app service SKU. It is important to note that there will be issues if it is increased more than the app service SKU can handle.
@@ -114,30 +102,25 @@ This can also be adjusted in the Azure Portal.
114
102
115
103
**Note:** Adjusting the scale or Tier can cause outages until the redeployment occurs.
116
104
117
-
118
-
### Steps to Scale Up:
105
+
### Steps to Scale Up
119
106
120
107
>1.**Sign in to the Azure Portal:**
121
108
> - Open a web browser and navigate to the [Azure Portal](https://portal.azure.com/).
122
109
> - Log in with your Azure account credentials.
123
-
124
110
>2.**Navigate to the App Service:**
125
111
> - In the left navigation pane, select "App Services."
126
112
> - Click on the specific App Service you want to scale.
127
-
128
113
>3.**Access the Scale Up Blade:**
129
114
> - In the App Service menu, find and click on "Scale up (App Service plan)" in the left sidebar.
130
-
131
115
>4.**Choose a New Pricing Tier:**
132
116
> - On the "Scale Up" blade, you'll see different pricing tiers representing various levels of resources.
133
117
> - Select the desired pricing tier that corresponds to the scale you need.
134
-
135
118
>5.**Review and Apply Changes:**
136
119
> - Review the information about the selected pricing tier, including its features and costs.
137
120
> - Click the "Apply" or "Save" button to apply the changes.
138
121
122
+
### Considerations
139
123
140
-
### Considerations:
141
124
-**Cost Implications:**
142
125
- Be aware of the cost implications associated with higher pricing tiers. Review the Azure Pricing documentation for details on costs.
143
126
@@ -146,4 +129,3 @@ This can also be adjusted in the Azure Portal.
146
129
147
130
-**Performance Impact:**
148
131
- Scaling up provides additional resources, potentially improving performance. However, it's essential to assess whether your application benefits from the increased resources.
Copy file name to clipboardExpand all lines: docs/deployment/deployment.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Once you have the completed setting up a GitHub Codespaces, please move on to th
29
29
30
30
The IA Accelerator needs to be sized appropriately based on your use case. Please review our [Sizing Estimator](/docs/costestimator.md) to help find the configuration that fits your needs.
31
31
32
-
To change the size of components deployed, make changes in the [Main Terraform](/infra/main.tf) file.
32
+
To change the size of components deployed, make changes in the [Terraform Variables](/infra/variables.tf) file.
33
33
34
34
Once you have completed the Sizing Estimator and sized your deployment appropriately, please move on to the Configuring your Environment step.
35
35
@@ -85,9 +85,9 @@ ENABLE_CUSTOMER_USAGE_ATTRIBUTION <br>CUSTOMER_USAGE_ATTRIBUTION_ID | No | By de
85
85
ENABLE_DEV_CODE | No | Defaults to `false`. It is not recommended to enable this flag, it is for development testing scenarios only.
86
86
APPLICATION_TITLE | No | Defaults to "". Providing a value for this parameter will replace the Information Assistant's title in the black banner at the top of the UX.
87
87
ENTRA_OWNERS | No | Defaults to "". Additional user id's you wish to assign as owners of created Azure Entra objects by way of assign to a security group.
88
-
MAX_CSV_FILE_SIZE | No | Defaults to 20 (MB's) for the maximum file size for an uploaded CSV
89
88
SERVICE_MANAGEMENT_REFERENCE | No | Defaults to "". Sets the service management reference value on Azure Entra objects created by Information Assistant if required by your organization.
90
-
89
+
MAX_CSV_FILE_SIZE | Yes | Defaults to 20. This value limits the size of CSV files in MBs that will be supported for upload in the Tabular Data Assistant UX feature.
90
+
PASSWORD_LIFETIME | No | Defaults to 365. The number of days that passwords associated with created identities are set to expire after creation. Change this setting if needed to conform to you policy requirements
91
91
92
92
## Log into Azure using the Azure CLI
93
93
@@ -149,13 +149,13 @@ help Show this help
149
149
deploy Deploy infrastructure and application code
150
150
build Build application code
151
151
infrastructure Deploy infrastructure
152
-
extract-env Extract infrastructure.env file from TF output
152
+
extract-env Extract infrastructure.env file from Terraform output
153
153
deploy-webapp Deploys the web app code to Azure App Service
154
154
deploy-functions Deploys the functioncode to Azure Function Host
155
155
deploy-enrichments Deploys the web app code to Azure App Service
156
156
deploy-search-indexes Deploy search indexes
157
-
extract-env-debug-webapp Extract infrastructure.debug.env file from TF output
158
-
extract-env-debug-functions Extract local.settings.json to debug functions from TF output
157
+
extract-env-debug-webapp Extract infrastructure.debug.env file from Terraform output
158
+
extract-env-debug-functions Extract local.settings.json to debug functions from Terraform output
159
159
functional-tests Run functional tests to check the processing pipeline is working
160
160
merge-databases Upgrade from bicep to terraform
161
161
import-state import state of current services to TF state
Copy file name to clipboardExpand all lines: docs/features/architectural_decisions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ In Retrieval Augmented Generation applications, a thorough grasp of context is e
23
23
24
24
Initially, we explored Azure AI Search's built-in skillset for tasks like entity recognition and key phrase extraction. However, due to the additional overhead of utilizing the skillset from Azure AI Search, we opted for custom data processing to extract key phrases and entities such as organizations, locations, and events. This approach enriched the search index by providing additional metadata and context, thereby enhancing retrieval effectiveness. Additionally, we employed embeddings to capture semantic relationships and contextual nuances, improving our understanding of textual data.
25
25
26
-
To generate embeddings, we empowered users to choose the embedding model that best suits their content and use case, acknowledging that a one-size-fits-all approach is not ideal. Users have the flexibility to opt for the closed-source Azure Open AI embedding or one of the open-source embedding models, including the multilingual embedding model.
26
+
To generate embeddings, we empowered users to choose the embedding model that best suits their content and use case, acknowledging that a one-size-fits-all approach is not ideal. Users have the flexibility to opt for the closed-source Azure OpenAI embedding or one of the open-source embedding models, including the multilingual embedding model.
Copy file name to clipboardExpand all lines: docs/knownissues.md
+15-1
Original file line number
Diff line number
Diff line change
@@ -206,4 +206,18 @@ Image search is currently only supported with regions that support dense caption
206
206
### Solution
207
207
These are only in the Logic App Preview Designer. Switching to the Generally Available Designer will resolve these errors. They are purely visual errors in the Preview Designer and have no impact on how the Logic App functions.
208
208
209
-

209
+

210
+
211
+
---
212
+
213
+
## Error: CredentialInvalidLifetimeAsPerAppPolicy: Credential lifetime exceeds the max value allowed as per assigned
214
+
### Solution
215
+
Your organization's policy places a limit on the lifetime of an identities password. In your copy of Local.env there is a setting called PASSWORD_LIFETIME. This value is used when creating or updating the identity password and has a default value of the number of days the password will exist before expiring. Change this value to a number of days that your organization allows.
216
+
217
+
To view the value after deploying go the Microsoft Entra ID page from the Azure Portal home page. Then search your tenant for infoasst_mgmt_access_<your-5-character-suffix> as shown in the image below.
218
+
219
+

220
+
221
+
Next click on the App Registration value, and then the page will open for that applciuation registration. Then select Clients & Secrets from the left menu. You will then see the expiry date of the password that was applied through Terraform.
222
+
223
+

0 commit comments