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: articles/ai-foundry/concepts/ai-red-teaming-agent.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,6 @@ The AI Red Teaming Agent leverages Microsoft's open-source framework for Python
27
27
28
28
Together these components (scanning, evaluating, and reporting) help teams understand how AI systems respond to common attacks, ultimately guiding a comprehensive risk management strategy.
When thinking about AI-related safety risks developing trustworthy AI systems, Microsoft uses NIST's framework to mitigate risk effectively: Govern, Map, Measure, Manage. We'll focus on the last three parts in relation to the generative AI development lifecycle:
@@ -674,9 +674,9 @@ Hybrid search consists of keyword queries and vector queries in a single search
674
674
]
675
675
```
676
676
677
-
### Semantic hybrid search with a filter
677
+
### Semantic hybrid search
678
678
679
-
Here's the last query in the collection. This hybrid query with semantic ranking is filtered to show only the hotels within a 500-kilometer radius of Washington D.C. You can set `vectorFilterMode` to null, which is equivalent to the default (`preFilter` for newer indexes and `postFilter` for older ones).
679
+
Here's the last query in the collection. This hybrid query specifies the semantic query type and a semantic configuration, demonstrating that you can build a hybrid query that uses semantic reranking.
680
680
681
681
- Find the cell below section titled "Semantic hybrid search" and execute the cell. This code block contains the request to query the search index.
682
682
@@ -721,9 +721,9 @@ Here's the last query in the collection. This hybrid query with semantic ranking
721
721
print("No vector loaded, skipping search.")
722
722
```
723
723
724
-
Review the output below the cell. The response is three hotels, which are filtered by location and faceted by `StateProvince` and semantically reranked to promote results that are closest to the search string query (`historic hotel walk to restaurants and shopping`).
724
+
Review the output below the cell.
725
725
726
-
The Swirling Currents Hotel now moves into the top spot. Without semantic ranking, Nordick's Valley Motel is number one. With semantic ranking, the machine comprehension models recognize that `historic` applies to "hotel, within walking distance to dining (restaurants) and shopping."
726
+
With semantic ranking, the Swirling Currents Hotel now moves into the top spot. W
727
727
728
728
```output
729
729
Total semantic hybrid results: 7
@@ -759,13 +759,15 @@ Here's the last query in the collection. This hybrid query with semantic ranking
759
759
Category: Suite
760
760
```
761
761
762
-
Key takeaways:
762
+
You can think of the semantic ranking as a way to improve the relevance of search results by understanding the meaning behind the words in the query and the content of the documents. In this case, the semantic ranking helps to identify hotels that are not only relevant to the keywords but also match the intent of the query:
763
763
764
-
- Vector search is specified through the `vectors.value` property. Keyword search is specified through the `search` property.
764
+
Key takeaways:
765
765
766
-
- In a hybrid search, you can integrate vector search with full-text search over keywords. Filters, spell check, and semantic ranking apply to textual content only, and not vectors. In this final query, there's no semantic `answer` because the system didn't produce one that was sufficiently strong.
766
+
- Vector search is specified through the `vectors.value` property. Keyword search is specified through the `search` property.
767
767
768
-
- Actual results include more detail, including semantic captions and highlights. Results were modified for readability. To get the full structure of the response, run the request in the REST client.
768
+
- In a hybrid search, you can integrate vector search with full-text search over keywords. Filters, spell check, and semantic ranking apply to textual content only, and not vectors. In this final query, there's no semantic `answer` because the system didn't produce one that was sufficiently strong.
769
+
770
+
- Actual results include more detail, including semantic captions and highlights. Results were modified for readability. To get the full structure of the response, run the request in the REST client.
Copy file name to clipboardExpand all lines: articles/search/search-indexer-access-control-lists-and-role-based-access.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -288,5 +288,15 @@ Choose one of the following mechanisms, depending on how many items changed:
288
288
289
289
## Deletion tracking
290
290
291
-
To effectively manage blob deletion, ensure that you have enabled [deletion tracking](search-howto-index-changed-deleted-blobs.md) before your indexer runs for the first time. This feature allows the system to detect deleted blobs from your source and have them deleted from the index.
291
+
To effectively manage blob deletion, ensure that you have enabled [deletion tracking](search-howto-index-changed-deleted-blobs.md) before your indexer runs for the first time. This feature allows the system to detect deleted blobs from your source and have them deleted from the index.
292
292
293
+
## Supported ADLS Gen2 permission features
294
+
295
+
This section compares document-level access control features between ADLS Gen2 and Azure AI Search. It highlights which ADLS Gen2 access control mechanisms are supported or mapped when integrating with AI Search, helping you understand how permissions are enforced at the document level.
|[RBAC](/azure/storage/blobs/data-lake-storage-access-control-model#role-based-access-control-azure-rbac)| Coarse-grained access at container level | Yes | AI Search honors RBAC for access to all documents in the entire container. |
300
+
|[ABAC](/azure/storage/blobs/data-lake-storage-access-control-model#attribute-based-access-control-azure-abac)| Attribute-based conditions on top of RBAC | No | AI Search does not evaluate ABAC conditions for document-level access. |
301
+
|[ACL](/azure/storage/blobs/data-lake-storage-access-control-model#access-control-lists-acls)| Fine-grained permissions at directory/file (document) level | Yes | AI Search uses document-level ACLs for [permission filters](./search-query-access-control-rbac-enforcement.md). |
302
+
|[Security Groups](/azure/storage/blobs/data-lake-storage-access-control-model#security-groups)| Group-based permission assignments | Yes | Supported if security groups are mapped inside the document-level ACL. |
0 commit comments