Skip to content

Commit 304d283

Browse files
authored
Merge pull request #259838 from MicrosoftDocs/main
11/29/2023 PM Publish
2 parents 557a4e0 + efe2f9f commit 304d283

File tree

318 files changed

+1805
-1003
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+1805
-1003
lines changed

articles/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ Congratulations! You've learned to use Document Intelligence models to analyze v
125125
> [Explore the Document Intelligence REST API](/rest/api/aiservices/document-models/analyze-document?view=rest-aiservices-2023-07-31&preserve-view=true&tabs=HTTP)
126126
::: moniker-end
127127

128-
::: moniker range="doc-intel-2.1.0"
129-
[!INCLUDE [applies to v2.1](../includes/applies-to-v21.md)]
130-
::: moniker-end
131-
132128
::: moniker range="doc-intel-2.1.0"
133129
In this how-to guide, you learn how to add Document Intelligence to your applications and workflows. Use a programming language of your choice or the REST API. Azure AI Document Intelligence is a cloud-based Azure AI service that uses machine learning to extract key-value pairs, text, and tables from your documents. We recommend that you use the free service while you learn the technology. Remember that the number of free pages is limited to 500 per month.
134130

articles/ai-services/openai/concepts/content-filter.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ Annotations are currently in preview for Completions and Chat Completions (GPT m
363363

364364
# [OpenAI Python 0.28.1](#tab/python)
365365

366-
367366
```python
368367
# os.getenv() for the endpoint and key assumes that you are using environment variables.
369368

@@ -591,6 +590,49 @@ main().catch((err) => {
591590
console.error("The sample encountered an error:", err);
592591
});
593592
```
593+
594+
# [PowerShell](#tab/powershell)
595+
596+
```powershell-interactive
597+
# Env: for the endpoint and key assumes that you are using environment variables.
598+
$openai = @{
599+
api_key = $Env:AZURE_OPENAI_KEY
600+
api_base = $Env:AZURE_OPENAI_ENDPOINT # your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
601+
api_version = '2023-10-01-preview' # this may change in the future
602+
name = 'YOUR-DEPLOYMENT-NAME-HERE' #This will correspond to the custom name you chose for your deployment when you deployed a model.
603+
}
604+
605+
$prompt = 'Example prompt where a severity level of low is detected'
606+
# Content that is detected at severity level medium or high is filtered,
607+
# while content detected at severity level low isn't filtered by the content filters.
608+
609+
$headers = [ordered]@{
610+
'api-key' = $openai.api_key
611+
}
612+
613+
$body = [ordered]@{
614+
prompt = $prompt
615+
model = $openai.name
616+
} | ConvertTo-Json
617+
618+
# Send a completion call to generate an answer
619+
$url = "$($openai.api_base)/openai/deployments/$($openai.name)/completions?api-version=$($openai.api_version)"
620+
621+
$response = Invoke-RestMethod -Uri $url -Headers $headers -Body $body -Method Post -ContentType 'application/json'
622+
return $response.prompt_filter_results.content_filter_results | format-list
623+
```
624+
625+
The `$response` object contains a property named `prompt_filter_results` that contains annotations
626+
about the filter results. If you prefer JSON to a .NET object, pipe the output to `ConvertTo-JSON`
627+
instead of `Format-List`.
628+
629+
```output
630+
hate : @{filtered=False; severity=safe}
631+
self_harm : @{filtered=False; severity=safe}
632+
sexual : @{filtered=False; severity=safe}
633+
violence : @{filtered=False; severity=safe}
634+
```
635+
594636
---
595637
596638
For details on the inference REST API endpoints for Azure OpenAI and how to create Chat and Completions please follow [Azure OpenAI Service REST API reference guidance](../reference.md). Annotations are returned for all scenarios when using `2023-06-01-preview`.
@@ -648,5 +690,3 @@ As part of your application design, consider the following best practices to del
648690
- Azure OpenAI content filtering is powered by [Azure AI Content Safety](https://azure.microsoft.com/products/cognitive-services/ai-content-safety).
649691
- Learn more about understanding and mitigating risks associated with your application: [Overview of Responsible AI practices for Azure OpenAI models](/legal/cognitive-services/openai/overview?context=/azure/ai-services/openai/context/context).
650692
- Learn more about how data is processed in connection with content filtering and abuse monitoring: [Data, privacy, and security for Azure OpenAI Service](/legal/cognitive-services/openai/data-privacy?context=/azure/ai-services/openai/context/context#preventing-abuse-and-harmful-content-generation).
651-
652-

articles/ai-services/policy-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Built-in policy definitions for Azure AI services
33
description: Lists Azure Policy built-in policy definitions for Azure AI services. These built-in policy definitions provide common approaches to managing your Azure resources.
4-
ms.date: 11/21/2023
4+
ms.date: 11/29/2023
55
author: nitinme
66
ms.author: nitinme
77
ms.service: azure-ai-services

articles/ai-services/speech-service/includes/language-support/stt.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ms.author: eur
7474
| `es-PR` | Spanish (Puerto Rico) | Plain text<br/><br/>Structured text<br/><br/>Pronunciation |
7575
| `es-PY` | Spanish (Paraguay) | Plain text<br/><br/>Structured text<br/><br/>Pronunciation |
7676
| `es-SV` | Spanish (El Salvador) | Plain text<br/><br/>Pronunciation |
77-
| `es-US` | Spanish (United States) | Plain text<br/><br/>Structured text<br/><br/>Pronunciation |
77+
| `es-US`<sup>1</sup> | Spanish (United States) | Plain text<br/><br/>Structured text<br/><br/>Pronunciation |
7878
| `es-UY` | Spanish (Uruguay) | Plain text<br/><br/>Structured text<br/><br/>Pronunciation |
7979
| `es-VE` | Spanish (Venezuela) | Plain text<br/><br/>Structured text<br/><br/>Pronunciation |
8080
| `et-EE` | Estonian (Estonia) | Plain text<br/><br/>Pronunciation |
@@ -83,7 +83,7 @@ ms.author: eur
8383
| `fi-FI` | Finnish (Finland) | Plain text<br/><br/>Pronunciation |
8484
| `fil-PH` | Filipino (Philippines) | Audio + human-labeled transcript<br/><br/>Plain text<br/><br/>Pronunciation |
8585
| `fr-BE` | French (Belgium) | Audio + human-labeled transcript<br/><br/>Plain text |
86-
| `fr-CA` | French (Canada) | Audio + human-labeled transcript<br/><br/>Plain text<br/><br/>Structured text<br/><br/>Pronunciation<br/><br/>Phrase list |
86+
| `fr-CA`<sup>1</sup> | French (Canada) | Audio + human-labeled transcript<br/><br/>Plain text<br/><br/>Structured text<br/><br/>Pronunciation<br/><br/>Phrase list |
8787
| `fr-CH` | French (Switzerland) | Plain text<br/><br/>Pronunciation |
8888
| `fr-FR` | French (France) | Audio + human-labeled transcript<br/><br/>Plain text<br/><br/>Structured text<br/><br/>Pronunciation<br/><br/>Phrase list |
8989
| `ga-IE` | Irish (Ireland) | Plain text<br/><br/>Pronunciation |
@@ -151,3 +151,5 @@ ms.author: eur
151151
| `zh-HK` | Chinese (Cantonese, Traditional) | Audio + human-labeled transcript<br/><br/>Plain text |
152152
| `zh-TW` | Chinese (Taiwanese Mandarin, Traditional) | Audio + human-labeled transcript<br/><br/>Plain text |
153153
| `zu-ZA` | Zulu (South Africa) | Plain text |
154+
155+
<sup>1</sup> It is a bilingual model with support for the English language as well.

articles/ai-services/speech-service/includes/release-notes/release-notes-stt.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ ms.author: eur
88

99
### November 2023 release
1010

11+
#### Introducing Bilingual Speech Modeling!
12+
We're thrilled to unveil a groundbreaking addition to our real-time speech modeling—Bilingual Speech Modeling. This significant enhancement allows our speech model to seamlessly support bilingual language pairs, such as English and Spanish, as well as English and French. This feature empowers users to effortlessly switch between languages during real-time interactions, marking a pivotal moment in our commitment to enhancing communication experiences.
13+
14+
Key Highlights:
15+
- Bilingual Support: With our latest release, users can seamlessly switch between English and Spanish or between English and French during real-time speech interactions. This functionality is tailored to accommodate bilingual speakers who frequently transition between these two languages.
16+
- Enhanced User Experience: Bilingual speakers, whether at work, home, or in various community settings, will find this feature immensely beneficial. The model's ability to comprehend and respond to both English and Spanish in real time opens up new possibilities for effective and fluid communication.
17+
18+
How to Use:
19+
20+
Choose es-US (Spanish and English) or fr-CA (French and English) when you call the Speech Service API or try it out on Speech Studio. Feel free to speak either language or mix them together—the model is designed to adapt dynamically, providing accurate and context-aware responses in both languages.
21+
22+
It's time to elevate your communication game with our latest feature release—seamless, multilingual communication at your fingertips!
23+
1124
#### Speech To text models update
1225

1326
We're excited to introduce a significant update to our speech models, promising enhanced accuracy, improved readability, and refined entity recognition. This upgrade comes with a robust new structure, bolstered by an expanded training dataset, ensuring a marked advancement in overall performance. It includes newly released models for en-US, zh-CN, ja-JP, it-IT, pt-BR, es-MX, es-ES, fr-FR, de-DE, ko-KR, tr-TR, sv-SE, and he-IL.

articles/aks/TOC.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,8 @@
699699
href: /virtualization/windowscontainers/manage-docker/optimize-windows-dockerfile?context=/azure/aks/context/aks-context
700700
- name: Windows AKS partner solutions
701701
href: windows-aks-partner-solutions.md
702+
- name: Windows AKS Customer Stories
703+
href: windows-aks-customer-stories.md
702704
- name: Develop and run applications
703705
items:
704706
- name: Install existing applications with Helm
@@ -815,4 +817,4 @@
815817
- name: Support options for AKS
816818
href: aks-support-help.md
817819
- name: Troubleshooting documentation for AKS
818-
href: /troubleshoot/azure/azure-kubernetes/welcome-azure-kubernetes
820+
href: /troubleshoot/azure/azure-kubernetes/welcome-azure-kubernetes
18.1 KB
Loading
70.8 KB
Loading
10.7 KB
Loading
38.7 KB
Loading

0 commit comments

Comments
 (0)