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
{{ message }}
Repository navigation
Commit 85e13e4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/INTENT_CLASSIFICATION.MD
+50-3Lines changed: 50 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,14 @@ Intent files are published to Azure Blob Storage and indexed for LLM-based inten
21
21
22
22
**In `edit.yml`:**
23
23
24
-
-Blob storage operations occur **only when the service state is being set to 'active'**
25
-
- When a service is edited and the state is set to 'active', the intent file (JSON format) is uploaded or updated in Azure Blob Storage using Storage Ferry
24
+
-When a service is edited and the state is set to **'active'**, the intent file (JSON format) is uploaded or updated in Azure Blob Storage using Storage Ferry
25
+
- When a service is edited and the state is changed **from active to draft or ready** (or any other non-active status), the intent file is deleted from blob storage
26
26
- The file is stored with the service name as the filename (e.g., `service-name.json`)
27
27
28
28
**In `status.yml`:**
29
29
30
30
- When a service is **activated** (state changed to 'active'): the intent file is created in blob storage
31
-
- When a service is**deactivated** (state changed to inactive): the intent file is deleted from blob storage
31
+
- When a service changes**from active to any other status** (e.g. inactive or draft): the intent file is deleted from blob storage
32
32
33
33
**Blob storage operations:**
34
34
@@ -264,3 +264,50 @@ Currently, we had low test sample size during development making testing results
264
264
### Follow-up note.
265
265
266
266
As in its current iteration we have only basic MVP version, some aspects of this procedure are still raw and inconsistent, and with its development this document should be updated accordingly.
267
+
268
+
269
+
## 9. Local Development Notes
270
+
271
+
#### To Access Azrite in Terminal
272
+
273
+
- Install az cli
274
+
- To view blob list in a container
275
+
```
276
+
az storage blob list --container-name {CONTAINER_NAME} --connection-string "DefaultEndpointsProtocol=http;AccountName={ACCOUNT_NAME};AccountKey={ACCOUNT_KEY};BlobEndpoint={ENDPOINT}" --auth-mode key --output table
az storage blob list --container-name buerokratt --query "[].name" --output tsv --connection-string "DefaultEndpointsProtocol=http;AccountName={ACCOUNT_NAME};AccountKey={ACCOUNT_KEY};BlobEndpoint={ENDPOINT}" --auth-mode key | while read blob; do
0 commit comments