Skip to content

Commit 741187e

Browse files
authored
Merge pull request #54475 from buzahid/ai-agents
Added videos to ai language module
2 parents 8c91a1a + 808f401 commit 741187e

72 files changed

Lines changed: 441 additions & 0 deletions

File tree

Some content is hidden

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

learn-pr/wwl-data-ai/analyze-text-ai-language/1-introduction.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
ms.topic: unit
1111
ms.collection:
1212
- wwl-ai-copilot
13+
zone_pivot_groups: video-or-text
1314
azureSandbox: false
1415
labModal: false
1516
durationInMinutes: 1

learn-pr/wwl-data-ai/analyze-text-ai-language/10-summary.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
ms.topic: unit
1111
ms.collection:
1212
- wwl-ai-copilot
13+
zone_pivot_groups: video-or-text
1314
azureSandbox: false
1415
labModal: false
1516
durationInMinutes: 1

learn-pr/wwl-data-ai/analyze-text-ai-language/2-provision-resource.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
ms.topic: unit
1111
ms.collection:
1212
- wwl-ai-copilot
13+
zone_pivot_groups: video-or-text
1314
azureSandbox: false
1415
labModal: false
1516
durationInMinutes: 3

learn-pr/wwl-data-ai/analyze-text-ai-language/3-detect-language.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
ms.topic: unit
1111
ms.collection:
1212
- wwl-ai-copilot
13+
zone_pivot_groups: video-or-text
1314
azureSandbox: false
1415
labModal: false
1516
durationInMinutes: 3

learn-pr/wwl-data-ai/analyze-text-ai-language/6-extract-entities.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
ms.topic: unit
1111
ms.collection:
1212
- wwl-ai-copilot
13+
zone_pivot_groups: video-or-text
1314
azureSandbox: false
1415
labModal: false
1516
durationInMinutes: 3

learn-pr/wwl-data-ai/analyze-text-ai-language/7-extract-personal-information.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
ms.topic: unit
1111
ms.collection:
1212
- wwl-ai-copilot
13+
zone_pivot_groups: video-or-text
1314
azureSandbox: false
1415
labModal: false
1516
durationInMinutes: 3

learn-pr/wwl-data-ai/analyze-text-ai-language/includes/1-introduction.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
::: zone pivot="video"
2+
3+
>[!VIDEO https://learn-video.azurefd.net/vod/player?id=057fe407-d61f-463f-af0c-18ad335308e1]
4+
5+
::: zone-end
6+
7+
::: zone pivot="text"
8+
19
Every day, the world generates a vast quantity of data; much of it text-based in the form of emails, social media posts, online reviews, business documents, and more. Artificial intelligence techniques that apply statistical and semantic models enable you to create applications that extract meaning and insights from this text-based data.
210

311
The Azure Language in Foundry Tools provides an API for common text analysis techniques that you can easily integrate into your own applications and agents.
@@ -7,3 +15,8 @@ In this module, you'll explore how to use Azure Language in Foundry Tools in you
715
- [Microsoft Azure Text Analytics Client Library for Python](https://pypi.org/project/azure-ai-textanalytics/)
816
- [Microsoft Azure Text Analytics Client Library for .NET](https://www.nuget.org/packages/Azure.AI.TextAnalytics)
917
- [Microsoft Azure Text Analytics Client Library for JavaScript](https://www.npmjs.com/package/@azure/ai-text-analytics)
18+
19+
::: zone-end
20+
21+
> [!NOTE]
22+
> We recognize that different people like to learn in different ways. You can choose to complete this module in video-based format or you can read the content as text and images. The text contains greater detail than the videos, so in some cases you might want to refer to it as supplemental material to the video presentation.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
::: zone pivot="video"
2+
3+
>[!VIDEO https://learn-video.azurefd.net/vod/player?id=05ae3e04-d6e8-4dc9-9e43-d299fbd24d70]
4+
5+
::: zone-end
6+
7+
::: zone pivot="text"
18

29
In this module, you learned how to use Azure Language in Foundry Tools to:
310

411
- Detect language from text.
512
- Recognize named entities in text.
613
- Extract personally identifiable information (PII) in text.
714

15+
::: zone-end
16+
817
> [!TIP]
918
> To learn more about Azure Language in Foundry Tools and some of the concepts covered in this module, refer to the **[Azure Language in Foundry Tools documentation](/azure/ai-services/language-service?azure-portal=true)**.

learn-pr/wwl-data-ai/analyze-text-ai-language/includes/2-provision-resource.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
::: zone pivot="video"
2+
3+
>[!VIDEO https://learn-video.azurefd.net/vod/player?id=7cc6a903-3991-4feb-b9d6-44e4455457a7]
4+
5+
> [!TIP]
6+
> See the **Text and images** tab for more details!
7+
8+
::: zone-end
9+
10+
::: zone pivot="text"
111
Azure Language in Foundry Tools is designed to help you extract information from text. It provides functionality that you can use for tasks like:
212

313
- *Language detection* - determining the language in which text is written.
@@ -50,3 +60,5 @@ credential = DefaultAzureCredential()
5060
client = TextAnalyticsClient(endpoint="YOUR_FOUNDRY_RESOURCE_ENDPOINT",
5161
credential=credential)
5262
```
63+
64+
::: zone-end

learn-pr/wwl-data-ai/analyze-text-ai-language/includes/3-detect-language.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1+
::: zone pivot="video"
12

3+
>[!VIDEO https://learn-video.azurefd.net/vod/player?id=7394c536-7d46-4f8d-a6f7-e8ebde5bda74]
4+
5+
> [!TIP]
6+
> See the **Text and images** tab for more details!
7+
8+
::: zone-end
9+
10+
::: zone pivot="text"
211
The Azure Language detection API evaluates text input and, for each document submitted, returns language identifiers with a score indicating the strength of the analysis.
312

413
This capability is useful for content stores that collect arbitrary text, where language is unknown. Another scenario could involve a chat application. If a user starts a session with the application, language detection can be used to determine which language they're using and allow you to configure your application's responses in the appropriate language.
@@ -42,3 +51,5 @@ In our sample, both languages show a high confidence value, mostly because the t
4251
If you try to detect the language of a document that has multilingual content, for example `I know a cool AI developer. He has a certain je ne sais quoi!`, the response may reflect some ambiguity. Mixed language content within the same document returns the language with the largest representation in the content, but with a lower positive rating, reflecting the marginal strength of that assessment.
4352

4453
The last condition to consider is when there's ambiguity as to the language content. The scenario might happen if you submit textual content that the analyzer isn't able to parse, for example because of character encoding issues when converting the text to a string variable. As a result, the response for the language name and ISO code will be returned as `(unknown)` and the score value will be returned as `0`.
54+
55+
::: zone-end

0 commit comments

Comments
 (0)