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
Use this quickstart to create a language detection application with the client library for .NET. In the following example, you will create a C# application that can identify the language a text sample was written in.
12
+
Use this quickstart to create a language detection application with the client library for .NET. In the following example, you create a C# application that can identify the language a text sample was written in.
13
13
14
14
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
15
15
@@ -18,18 +18,18 @@ Use this quickstart to create a language detection application with the client l
18
18
19
19
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
20
20
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/)
21
-
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Language resource"target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
22
-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
21
+
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Language resource"target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
22
+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code later in the quickstart.
23
23
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
24
-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
24
+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
25
25
26
26
27
27
28
28
## Setting up
29
29
30
30
### Create a new .NET Core application
31
31
32
-
Using the Visual Studio IDE, create a new .NET Core console app. This will create a "Hello World" project with a single C# source file: *program.cs*.
32
+
Using the Visual Studio IDE, create a new .NET Core console app. This creates a "Hello World" project with a single C# source file: *program.cs*.
33
33
34
34
Install the client library by right-clicking on the solution in the **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens select **Browse** and search for `Azure.AI.TextAnalytics`. Select version `5.2.0`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
Use this quickstart to create a language detection application with the client library for Java. In the following example, you will create a Java application that can identify the language a text sample was written in.
13
+
Use this quickstart to create a language detection application with the client library for Java. In the following example, you create a Java application that can identify the language a text sample was written in.
14
14
15
15
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
16
16
@@ -20,9 +20,9 @@ Use this quickstart to create a language detection application with the client l
20
20
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
21
21
*[Java Development Kit](https://www.oracle.com/technetwork/java/javase/downloads/index.html) (JDK) with version 8 or above
22
22
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Language resource"target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
23
-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
23
+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code below later in the quickstart.
24
24
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
25
-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
25
+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
Use this quickstart to create a language detection application with the client library for Node.js. In the following example, you will create a JavaScript application that can identify the language a text sample was written in.
14
+
Use this quickstart to create a language detection application with the client library for Node.js. In the following example, you create a JavaScript application that can identify the language a text sample was written in.
15
15
16
16
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
17
17
@@ -21,9 +21,9 @@ Use this quickstart to create a language detection application with the client l
21
21
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
22
22
*[Node.js](https://nodejs.org/) v14 LTS or later
23
23
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Language resource"target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
24
-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
24
+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code below later in the quickstart.
25
25
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
26
-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
26
+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
Use this quickstart to create a language detection application with the client library for Python. In the following example, you will create a Python application that can identify the language a text sample was written in.
12
+
Use this quickstart to create a language detection application with the client library for Python. In the following example, you create a Python application that can identify the language a text sample was written in.
13
13
14
14
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
15
15
@@ -19,9 +19,9 @@ Use this quickstart to create a language detection application with the client l
19
19
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
20
20
*[Python 3.8 or later](https://www.python.org/)
21
21
* Once you have your Azure subscription, <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Language resource"target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
22
-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
22
+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code below later in the quickstart.
23
23
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
24
-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
24
+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
Copy file name to clipboardExpand all lines: articles/ai-services/language-service/question-answering/how-to/azure-openai-integration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ At the same time, customers often require a custom answer authoring experience t
20
20
## Prerequisites
21
21
22
22
* An existing Azure OpenAI resource. If you don't already have an Azure OpenAI resource, then [create one and deploy a model](../../../openai/how-to/create-resource.md).
23
-
* An Azure Language Service resource and custom question qnswering project. If you don’t have one already, then [create one](../quickstart/sdk.md).
23
+
* An Azure Language Service resource and custom question answering project. If you don’t have one already, then [create one](../quickstart/sdk.md).
24
24
* Azure OpenAI requires registration and is currently only available to approved enterprise customers and partners. See [Limited access to Azure OpenAI Service](/legal/cognitive-services/openai/limited-access?context=/azure/ai-services/openai/context/context) for more information. You can apply for access to Azure OpenAI by completing the form at https://aka.ms/oai/access. Open an issue on this repo to contact us if you have an issue.
25
25
* Be sure that you are assigned at least the [Cognitive Services OpenAI Contributor role](/azure/role-based-access-control/built-in-roles#cognitive-services-openai-contributor) for the Azure OpenAI resource.
0 commit comments