Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,129 +9,6 @@ pinned: false
|
|
| 9 |
|
| 10 |
https://github.com/AaronCWacker/AzureModels4AI
|
| 11 |
|
|
|
|
| 12 |
|
| 13 |
-
# Azure Cosmos DB Copilot Pipeline
|
| 14 |
|
| 15 |
-
## Copilot Pipeline Overview
|
| 16 |
-
```mermaid
|
| 17 |
-
graph LR
|
| 18 |
-
A[System Prompts] --> D[Azure OpenAI Service]
|
| 19 |
-
B[Few-shot Examples] --> D
|
| 20 |
-
C[Schema info] --> D
|
| 21 |
-
D --> E[Validation]
|
| 22 |
-
E --> F[Testing]
|
| 23 |
-
F --> G[Microsoft Copilot for Azure in Cosmos DB]
|
| 24 |
-
```
|
| 25 |
-
|
| 26 |
-
# Testing Criteria
|
| 27 |
-
```mermaid
|
| 28 |
-
graph LR
|
| 29 |
-
A[1. Validity]
|
| 30 |
-
B[2. Verification of intent]
|
| 31 |
-
C[3. Accuracy of results]
|
| 32 |
-
D[4. Optimality]
|
| 33 |
-
E[5. Responsible AI]
|
| 34 |
-
|
| 35 |
-
A --> B --> C --> D --> E
|
| 36 |
-
|
| 37 |
-
style A fill:#f0f0f0,stroke:#333,stroke-width:2px
|
| 38 |
-
style B fill:#f0f0f0,stroke:#333,stroke-width:2px
|
| 39 |
-
style C fill:#f0f0f0,stroke:#333,stroke-width:2px
|
| 40 |
-
style D fill:#f0f0f0,stroke:#333,stroke-width:2px
|
| 41 |
-
style E fill:#ff9999,stroke:#333,stroke-width:2px
|
| 42 |
-
```
|
| 43 |
-
|
| 44 |
-
# Responsible AI Framework
|
| 45 |
-
```mermaid
|
| 46 |
-
graph TD
|
| 47 |
-
A[Responsible AI]
|
| 48 |
-
B[Fairness]
|
| 49 |
-
C[Reliability & Safety]
|
| 50 |
-
D[Privacy & Security]
|
| 51 |
-
E[Inclusiveness]
|
| 52 |
-
F[Transparency]
|
| 53 |
-
G[Accountability]
|
| 54 |
-
|
| 55 |
-
A --> B
|
| 56 |
-
A --> C
|
| 57 |
-
A --> D
|
| 58 |
-
A --> E
|
| 59 |
-
A --> F
|
| 60 |
-
A --> G
|
| 61 |
-
|
| 62 |
-
style A fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px
|
| 63 |
-
style B fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px
|
| 64 |
-
style C fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px
|
| 65 |
-
style D fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px
|
| 66 |
-
style E fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px
|
| 67 |
-
style F fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px
|
| 68 |
-
style G fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px
|
| 69 |
-
|
| 70 |
-
classDef default fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px;
|
| 71 |
-
```
|
| 72 |
-
|
| 73 |
-
# Red Teaming Process
|
| 74 |
-
```mermaid
|
| 75 |
-
graph TD
|
| 76 |
-
A[Red Teaming]
|
| 77 |
-
|
| 78 |
-
B[Planning Phase]
|
| 79 |
-
B1[Who will do the testing?]
|
| 80 |
-
B2[What to test?]
|
| 81 |
-
B3[How to test?]
|
| 82 |
-
B4[How to record data?]
|
| 83 |
-
|
| 84 |
-
C[Execution Phase]
|
| 85 |
-
C1[Conduct red teaming]
|
| 86 |
-
|
| 87 |
-
D[Reporting Phase]
|
| 88 |
-
D1[Report regularly with key stakeholders]
|
| 89 |
-
D2[Lists the top identified issues]
|
| 90 |
-
D3[Provides a link to the raw data]
|
| 91 |
-
D4[Previews the testing plan for upcoming rounds]
|
| 92 |
-
D5[Acknowledges red teamers]
|
| 93 |
-
D6[Provides any other relevant information]
|
| 94 |
-
|
| 95 |
-
A --> B
|
| 96 |
-
A --> C
|
| 97 |
-
A --> D
|
| 98 |
-
|
| 99 |
-
B --> B1
|
| 100 |
-
B --> B2
|
| 101 |
-
B --> B3
|
| 102 |
-
B --> B4
|
| 103 |
-
|
| 104 |
-
C --> C1
|
| 105 |
-
|
| 106 |
-
D --> D1
|
| 107 |
-
D1 --> D2
|
| 108 |
-
D1 --> D3
|
| 109 |
-
D1 --> D4
|
| 110 |
-
D1 --> D5
|
| 111 |
-
D1 --> D6
|
| 112 |
-
|
| 113 |
-
classDef default fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px;
|
| 114 |
-
class A,B,C,D default;
|
| 115 |
-
classDef subnode fill:#4BA0E0,color:#ffffff,stroke:#4BA0E0,stroke-width:2px;
|
| 116 |
-
class B1,B2,B3,B4,C1,D1,D2,D3,D4,D5,D6 subnode;
|
| 117 |
-
```
|
| 118 |
-
|
| 119 |
-
## Learn More Resource Links and Reference Video
|
| 120 |
-
```mermaid
|
| 121 |
-
graph TD
|
| 122 |
-
A[Learn More]
|
| 123 |
-
B[Copilot in Cosmos DB Blog]
|
| 124 |
-
C[Copilot Learn More]
|
| 125 |
-
D[James Codella's Video on Azure Cosmos DB]
|
| 126 |
-
|
| 127 |
-
A --> B
|
| 128 |
-
A --> C
|
| 129 |
-
A --> D
|
| 130 |
-
|
| 131 |
-
click B "https://aka.ms/CopilotInCosmosDBBlog" _blank
|
| 132 |
-
click C "https://aka.ms/cdb-copilot-learn-more" _blank
|
| 133 |
-
click D "https://www.youtube.com/watch?v=STc30jdBwl8&list=PLHgX2IExbFos07Jf1iT2gg94A2IArbmLC&index=3&t=1049s" _blank
|
| 134 |
-
|
| 135 |
-
classDef default fill:#0078D4,color:#ffffff,stroke:#0078D4,stroke-width:2px;
|
| 136 |
-
class A,B,C,D default;
|
| 137 |
-
```
|
|
|
|
| 9 |
|
| 10 |
https://github.com/AaronCWacker/AzureModels4AI
|
| 11 |
|
| 12 |
+

|
| 13 |
|
|
|
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|