用于语言理解 (LUIS) 的 SDK、REST 和 CLI 开发人员资源SDK, REST, and CLI developer resources for Language Understanding (LUIS)

SDK、REST API、CLI 用于以编程语言开发语言理解 (LUIS) 应用。SDKs, REST APIs, CLI, help you develop Language Understanding (LUIS) apps in your programming language. 管理 Azure 资源和 LUIS 预测。Manage your Azure resources and LUIS predictions.

Azure 资源管理Azure resource management

使用 Azure 认知服务的“管理”层来创建、编辑、列出和删除语言理解或认知服务资源。Use the Azure Cognitive Services Management layer to create, edit, list, and delete the Language Understanding or Cognitive Service resource.

根据以下工具来查找参考文档:Find reference documentation based on the tool:

语言理解创作和预测请求Language Understanding authoring and prediction requests

可以从需要创建的 Azure 资源访问语言理解服务。The Language Understanding service is accessed from an Azure resource you need to create. 有两项资源:创作终结点资源和预测终结点资源。There are two resources: authoring and prediction endpoint resources. 这两项资源都可以用来控制 LUIS 资源。Both of these resources allow you to control your LUIS resources.

REST APIREST APIs

创作终结点 API 和预测终结点 API 都可在 REST API 中使用:Both authoring and prediction endpoint APIS are available from REST APIs:

类型Type 版本Version
创作Authoring V2V2
预览 V3preview V3
预测Prediction V2V2
V3V3

基于语言的 SDKLanguage-based SDKs

语言Language 参考文档Reference documentation 程序包Package 示例Samples 快速入门Quickstarts
C#C# 创作Authoring
预测Prediction
NuGet 创作NuGet authoring
NuGet 预测NuGet prediction
.Net SDK 示例.Net SDK samples 创建和管理应用Create and manage app
查询预测终结点Query prediction endpoint
GoGo 创作和预测Authoring and prediction SDKSDK 创作Authoring
预测Prediction
JavaJava 创作和预测Authoring and prediction Maven 创作Maven authoring
Maven 预测Maven prediction
创作Authoring
预测Prediction
[创作和预测
Node.jsNode.js 创作Authoring
预测Prediction
NPM 创作NPM authoring
NPM 预测NPM prediction
创作Authoring
预测Prediction
[使用 REST 进行创作和预测
PythonPython 创作和预测Authoring and prediction PipPip 创作Authoring 创作Authoring

容器Containers

语言理解 (LUIS) 提供一个可提供本地版和包含版应用的容器Language Understanding (LUIS) provides a container to provide on-premises and contained versions of your app.

导出和导入格式Export and import formats

语言理解提供以 JSON 格式管理应用及其模型的功能,并提供 .LU (LUDown) 格式以及用于语言理解容器的压缩包。Language Understanding provides the ability to manage your app and its models in a JSON format, the .LU (LUDown) format, and a compressed package for the Language Understanding container.

可以通过 API 和 LUIS 门户导入和导出这些格式。Importing and exporting these formats is available from the APIs and from the LUIS portal. 此门户通过“应用”列表和“版本”列表提供导入和导出功能。The portal provides import and export as part of the Apps list and Versions list.

其他工具和 SDKOther tools and SDKs

Bot Framework 在多种语言中以 SDK 形式提供,并通过 Azure 机器人服务以服务形式提供。The bot framework is available as an SDK in a variety of languages and as a service using Azure Bot Service.

Bot Framework 提供有助于语言理解的多种工具,其中包括:Bot framework provides several tools to help with Language Understanding, including:

  • LUDown - 使用 Markdown 文件构建 LUIS 语言理解模型LUDown - Build LUIS language understanding models using markdown files
  • LUIS CLI - 创建并管理 luis.azure.cn 应用程序LUIS CLI - Create and manage your luis.azure.cn applications
  • Dispatch- 管理父应用和子应用Dispatch- manage parent and child apps
  • LUISGen - 为 LUIS 意向和实体自动生成 C#/Typescript 支持类。LUISGen - Auto generate backing C#/Typescript classes for your LUIS intents and entities.
  • 机器人模拟器 - 一款桌面应用程序,方便机器人开发人员测试和调试使用 Bot Framework SDK 构建的机器人Bot emulator - a desktop application that allows bot developers to test and debug bots built using the Bot Framework SDK

后续步骤Next steps