Επεξεργασία

Κοινή χρήση μέσω


SDK and REST developer guide for the Language service

Use this article to find information on integrating the Language service SDKs and REST API into your applications.

Development options

The Language service provides support through a REST API, and client libraries in several languages.

Client libraries (Azure SDK)

The Language service provides three namespaces for using the available features. Depending on which features and programming language you're using, you will need to download one or more of the following packages, and have the following framework/language version support:

Framework/Language Minimum supported version
.NET .NET Framework 4.6.1 or newer, or .NET (formerly .NET Core) 2.0 or newer.
Java v8 or later
JavaScript v14 LTS or later
Python v3.7 or later

Azure.AI.TextAnalytics

Note

If you're using custom named entity recognition or custom text classification, you will need to create a project and train a model before using the SDK. The SDK only provides the ability to analyze text using models you create. See the following quickstarts for information on creating a model.

The Azure.AI.TextAnalytics namespace enables you to use the following Language features. Use the links below for articles to help you send API requests using the SDK.

As you use these features in your application, use the following documentation and code samples for additional information.

Language → Latest GA version Reference documentation Samples
C#/.NET → v5.2.0 C# documentation C# samples
Java → v5.2.0 Java documentation Java Samples
JavaScript → v1.0.0 JavaScript documentation JavaScript samples
Python → v5.2.0 Python documentation Python samples

Azure.AI.Language.Conversations

Note

If you're using conversational language understanding or orchestration workflow, you will need to create a project and train a model before using the SDK. The SDK only provides the ability to analyze text using models you create. See the following quickstarts for more information.

The Azure.AI.Language.Conversations namespace enables you to use the following Language features. Use the links below for articles to help you send API requests using the SDK.

As you use these features in your application, use the following documentation and code samples for additional information.

Language → Latest GA version Reference documentation Samples
C#/.NET → v1.0.0 C# documentation C# samples
Python → v1.0.0 Python documentation Python samples

Azure.AI.Language.QuestionAnswering

The Azure.AI.Language.QuestionAnswering namespace enables you to use the following Language features:

  • Question answering
    • Authoring - Automate common tasks like adding new question answer pairs and working with projects/knowledge bases.
    • Prediction - Answer questions based on passages of text.

As you use these features in your application, use the following documentation and code samples for additional information.

Language → Latest GA version Reference documentation Samples
C#/.NET → v1.0.0 C# documentation C# samples
Python → v1.0.0 Python documentation Python samples

See also

Azure AI Language overview