Skip to content

Commit ec60238

Browse files
Updated as per the comments
1 parent f4dd0db commit ec60238

3 files changed

Lines changed: 77 additions & 40 deletions

File tree

App/kernel-memory/service/Service/appsettings.Development.json.sample

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -117,47 +117,32 @@
117117
"BucketName": ""
118118
},
119119
"AzureAISearch": {
120-
"Auth": "ApiKey",
121-
"Endpoint": "",
122-
"APIKey": "",
120+
// Auth and Endpoint are configured in Azure App Configuration
123121
"UseHybridSearch": true
124122
},
125123
"AzureAIDocIntel": {
126-
"Auth": "ApiKey",
127-
"APIKey": "",
128-
"Endpoint": ""
124+
// Auth and Endpoint are configured in Azure App Configuration
129125
},
130126
"AzureBlobs": {
131-
"Auth": "AzureIdentity",
132-
"Account": "",
133-
"Container": "",
134-
"ConnectionString": "",
127+
// Auth, Account, and Container are configured in Azure App Configuration
135128
"EndpointSuffix": "core.windows.net"
136129
},
137130
"AzureOpenAIEmbedding": {
138-
"Auth": "ApiKey",
139-
"Endpoint": "",
140-
"APIKey": "",
141-
"Deployment": "",
131+
// Auth, Endpoint, and Deployment are configured in Azure App Configuration
142132
"MaxTokenTotal": 8191,
143133
"EmbeddingDimensions": null,
144134
"MaxEmbeddingBatchSize": 1,
145135
"MaxRetries": 10,
146136
"APIType": "EmbeddingGeneration"
147137
},
148138
"AzureOpenAIText": {
149-
"Auth": "ApiKey",
150-
"Endpoint": "",
151-
"APIKey": "",
152-
"Deployment": "",
139+
// Auth, Endpoint, and Deployment are configured in Azure App Configuration
153140
"MaxTokenTotal": 128000,
154141
"APIType": "ChatCompletion",
155142
"MaxRetries": 10
156143
},
157144
"AzureQueues": {
158-
"Auth": "AzureIdentity",
159-
"Account": "",
160-
"ConnectionString": "",
145+
// Auth and Account are configured in Azure App Configuration
161146
"EndpointSuffix": "core.windows.net",
162147
"PollDelayMsecs": 100,
163148
"FetchBatchSize": 3,

docs/LocalSetupGuide.md

Lines changed: 71 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,6 @@ sudo dnf install -y nodejs npm
4949
corepack enable
5050
corepack prepare yarn@stable --activate
5151
52-
# Verify
53-
dotnet --version
54-
yarn --version
55-
```
56-
### macOS Development
57-
```
58-
# .NET SDK (LTS .NET 8)
59-
brew install --cask dotnet-sdk
60-
61-
# Yarn (via Corepack) – install Node.js first
62-
brew install node
63-
corepack enable
64-
corepack prepare yarn@stable --activate
65-
6652
# Verify
6753
dotnet --version
6854
yarn --version
@@ -111,9 +97,75 @@ az role assignment create \
11197

11298
#### Other Required Roles
11399
Depending on the features you use, you may also need:
114-
- **Storage Blob Data Contributor** - For Azure Storage operations
115-
- **Storage Queue Data Contributor** - For queue-based processing
116-
- **Storage Blob Data Reader** - For read-only access to blob data
100+
- **Storage Blob Data Contributor** – For Azure Storage operations
101+
102+
```bash
103+
# Assign Storage Blob Data Contributor role
104+
az role assignment create \
105+
--assignee $PRINCIPAL_ID \
106+
--role "Storage Blob Data Contributor" \
107+
--scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>"
108+
```
109+
110+
- **Storage Queue Data Contributor** – For queue-based processing
111+
112+
```bash
113+
# Assign Storage Queue Data Contributor role
114+
az role assignment create \
115+
--assignee $PRINCIPAL_ID \
116+
--role "Storage Queue Data Contributor" \
117+
--scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>"
118+
```
119+
120+
- **Storage Blob Data Reader** – For read-only access to blob data
121+
122+
```bash
123+
# Assign Storage Blob Data Reader role
124+
az role assignment create \
125+
--assignee $PRINCIPAL_ID \
126+
--role "Storage Blob Data Reader" \
127+
--scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Storage/storageAccounts/<storage-account-name>"
128+
```
129+
130+
- **Search Index Data Contributor** – For Azure AI Search operations
131+
132+
```bash
133+
# Assign Search Index Data Contributor role
134+
az role assignment create \
135+
--assignee $PRINCIPAL_ID \
136+
--role "Search Index Data Contributor" \
137+
--scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Search/searchServices/<search-service-name>"
138+
```
139+
140+
- **Search Service Contributor** – For managing Azure AI Search service
141+
142+
```bash
143+
# Assign Search Service Contributor role
144+
az role assignment create \
145+
--assignee $PRINCIPAL_ID \
146+
--role "Search Service Contributor" \
147+
--scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Search/searchServices/<search-service-name>"
148+
```
149+
150+
- **Cognitive Services OpenAI User** – For Azure OpenAI access
151+
152+
```bash
153+
# Assign Cognitive Services OpenAI User role
154+
az role assignment create \
155+
--assignee $PRINCIPAL_ID \
156+
--role "Cognitive Services OpenAI User" \
157+
--scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<openai-service-name>"
158+
```
159+
160+
- **Cognitive Services User** – For Azure AI Document Intelligence access
161+
162+
```bash
163+
# Assign Cognitive Services User role
164+
az role assignment create \
165+
--assignee $PRINCIPAL_ID \
166+
--role "Cognitive Services User" \
167+
--scope "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<document-intelligence-service-name>"
168+
```
117169

118170
**Note**: RBAC permission changes can take 5-10 minutes to propagate. If you encounter "Forbidden" errors after assigning roles, wait a few minutes and try again.
119171

@@ -152,7 +204,7 @@ Navigate to the cloned repository and open the following solution files from Vis
152204
3. If it does not exist, create it manually by copying the sample file:
153205

154206
```bash
155-
cd "document-knowledge-Mining-Solution-Accelerator\App\kernel-memory\service\Service"
207+
cd "Document-Knowledge-Mining-Solution-Accelerator\App\kernel-memory\service\Service"
156208
# Copy the example file
157209
cp appsettings.Development.json.sample appsettings.Development.json # Linux
158210
# or
@@ -172,7 +224,7 @@ Copy-Item appsettings.Development.json.sample appsettings.Development.json # W
172224
3. If it does not exist, create it manually by copying the sample file:
173225

174226
```bash
175-
cd "document-knowledge-Mining-Solution-Accelerator\App\backend-api\Microsoft.GS.DPS.Host"
227+
cd "Document-Knowledge-Mining-Solution-Accelerator\App\backend-api\Microsoft.GS.DPS.Host"
176228
# Copy the example file
177229
cp appsettings.Development.json.sample appsettings.Development.json # Linux
178230
# or

docs/images/deleteservices.png

-8.05 KB
Loading

0 commit comments

Comments
 (0)