2020年11月的新功能What's new November 2020

適用于: SDK v4APPLIES TO: SDK v4

Bot Framework SDK v4 是 開放原始碼 SDK ,可讓開發人員使用其慣用的程式設計語言來建立模型和建立複雜的對話。The Bot Framework SDK v4 is an Open Source SDK that enable developers to model and build sophisticated conversations using their favorite programming language.

本文摘要說明 Bot Framework 和 Azure Bot Service 中的重要新功能和增強功能。This article summarizes key new features and improvements in Bot Framework and Azure Bot Service.

項目Item C#C# JSJS PythonPython JavaJava
版本Release 4.11 (GA) 4.11 (GA) 4.11 (GA) 4.11 (GA) 4.11 (GA) 4.11 (GA) 4.7 預覽4.7 Preview
範例Samples .NET CoreWebAPI.NET Core, WebAPI Node.jsTypeScriptes6Node.js, TypeScript, es6 PythonPython

歡迎使用 Bot Framework SDK 2020 年11月版本。Welcome to the November 2020 release of the Bot Framework SDK. 此版本中有一些更新,我們希望您會喜歡,其中一些主要重點包括:There are a number of updates in this version that we hope you will like; some of the key highlights include:

  • :現有檔的改進,包括程式碼和範例存放庫的讀我檔案。Documentation: improvements to existing documentation, including READMEs for the code and samples repositories.
  • 小組:新增對參與者會議 API 的支援,以及其他一般改進。Teams: added support for the Participant Meeting API, and other general improvements.
  • 技能:現在可以在模擬器中本機執行及測試,而不需要應用程式識別碼和密碼,以改善調適型對話方塊中技能的支援。Skills: can now be run and tested locally in the Emulator without an app ID and password, improved support for skills in adaptive dialogs.
  • Orchestrator (preview) : Language Understanding 的技術,可將連入的使用者語句到適當的技能或後續的語言處理服務,例如 LUIS 或 QnA Maker。Orchestrator (preview): a Language Understanding technology for routing incoming user utterances to an appropriate skill or to subsequent language processing service such as LUIS or QnA Maker.
  • 雲端配接器 (預覽,僅限 .NET) :支援在任何雲端環境中裝載 bot 的 bot 介面卡。Cloud adapter (preview, .NET only): a bot adapter that supports hosting a bot in any cloud environment.

測試人員:想要儘快嘗試新功能嗎?Insiders: Want to try new features as soon as possible? 您可下載每晚的測試人員組建 [C#] [JS] [Python] [CLI],並在最新的更新可供使用時立即嘗試。You can download the nightly Insiders build [C#] [JS] [Python] [CLI] and try the latest updates as soon as they are available. 如需最新的 Bot Framework 消息、更新和內容,請在 Twitter @msbotframework 上追蹤我們!And for the latest Bot Framework news, updates, and content, follow us on Twitter @msbotframework!

文件更新Documentation updates

遵循客戶和 Bot Framework 支援小組的意見反應,已建立或更新許多份檔。Following feedback from customers and the Bot Framework Support team, a number of documents were created or updated.這些都有助於提供與 bot 開發人員週期性問題相關的答案和資訊。 These are helpful towards providing answers and information relating to recurring issues from bot developers.

  • SDK 存放庫中的擴充程式碼註釋檔。Expanded code comment documentation in the SDK repositories.
  • 改進範例和 SDK 存放庫中的讀我檔案。Improved READMEs in the samples and SDK repositories.
  • 新的和更新的檔,解決週期性 bot 開發人員的問題:New and updated documents addressing recurring bot developer issues:
    • 已更新並擴充適應性對話方塊的 概念 和操作 說明 文章。Updated and expanded the conceptual and how-to articles for adaptive dialogs.
    • 更新和重新組織 驗證和安全性 文章。Updated and reorganized the authentication and security articles.
    • Bot Framework 編輯器檔的更新。Updates to the Bot Framework Composer documentation.
    • 針對回應產生、認知服務、調適型運算式、技能、管道及其他主題發出修正和一般檔改進。Issue fixes and general documentation improvements to response generation, Cognitive Services, adaptive expressions, skills, channels, and other topics.
    • SDK v3 檔已從主檔案集移除,而且可在 舊版 網站上取得。The SDK v3 documentation has been removed from the main doc set and is available on the previous versions site.

其他資訊Additional information

  • 您可以在封存的 資訊中看到先前的公告。You can see previous announcements in the archived information.
  • 請參閱 Bot Framework SDK 版本 資訊,以取得4.11 版本中對 SDK 進行之變更的詳細資訊。See the Bot Framework SDK release notes for more information about the changes made to the SDK in the 4.11 release.

2020年8月的新功能What's new August 2020

適用于: SDK v4APPLIES TO: SDK v4

Bot Framework SDK v4 是 開放原始碼 SDK ,可讓開發人員使用其慣用的程式設計語言來建立模型和建立複雜的對話。The Bot Framework SDK v4 is an Open Source SDK that enable developers to model and build sophisticated conversations using their favorite programming language.

本文摘要說明 Bot Framework 和 Azure Bot Service 中的重要新功能和增強功能。This article summarizes key new features and improvements in Bot Framework and Azure Bot Service.

項目Item C#C# JSJS PythonPython JavaJava
版本Release 4.10 (GA) 4.10 (GA) 4.10 (GA) 4.10 (GA) 4.10 (GA) 4.10 (GA) 4.6 預覽版4.6 Preview
範例Samples .NET CoreWebAPI.NET Core, WebAPI Node.jsTypeScriptes6Node.js, TypeScript, es6 PythonPython

歡迎使用 Bot Framework SDK 2020 年8月版本。Welcome to the August 2020 release of the Bot Framework SDK. 此版本中有一些更新,我們希望您會喜歡,其中一些主要重點包括:There are a number of updates in this version that we hope you will like; some of the key highlights include:

  • :現有檔的改進,包括程式碼和範例存放庫的讀我檔案。Documentation: improvements to existing documentation, including READMEs for the code and samples repositories.
  • 客戶的可支援性:增強功能著重于使用 Bot Framework、工具和 sdk 尋求協助的開發人員。Customer supportability: improvements focused on developers seeking assistance using the Bot Framework, tools and SDKs.
  • 客戶要求:使用 Bot Framework SDK 和工具,著重于開發人員群體和協力廠商的功能要求的增強功能。Customer requests: improvements focused on feature requests from the developer community and 3rd parties using the Bot Framework SDK and tools.
  • 程式代碼品質:著重于單元和功能測試涵蓋範圍的增強功能,以及參考檔。Code quality: improvements focused on unit and functional test coverage and on the reference documentation.
  • 新的 SDK 功能:此版本中新增的預覽功能。New SDK features: new preview features added in this release.
  • 其他改進: SDK 的其他改良功能。Other improvements: other improvements to the SDK.

測試人員:想要儘快嘗試新功能嗎?Insiders: Want to try new features as soon as possible? 您可下載每晚的測試人員組建 [C#] [JS] [Python] [CLI],並在最新的更新可供使用時立即嘗試。You can download the nightly Insiders build [C#] [JS] [Python] [CLI] and try the latest updates as soon as they are available. 如需最新的 Bot Framework 消息、更新和內容,請在 Twitter @msbotframework 上追蹤我們!And for the latest Bot Framework news, updates, and content, follow us on Twitter @msbotframework!

文件Documentation

遵循客戶和 Bot Framework 支援小組的意見反應,已建立或更新許多份檔。Following feedback from customers and the Bot Framework Support team, a number of documents were created or updated.這些都有助於提供與 bot 開發人員週期性問題相關的答案和資訊。 These are helpful towards providing answers and information relating to recurring issues from bot developers.

  • SDK 存放庫中的擴充程式碼註釋檔。Expanded code comment documentation in the SDK repositories.
  • 改進範例和 SDK 存放庫中的讀我檔案。Improved READMEs in the samples and SDK repositories.
  • 新的和更新的檔,解決週期性 bot 開發人員的問題:New and updated documents addressing recurring bot developer issues:
    • 新增 Azure Bot Service] (/azure/bot-service/) 中樞頁面,該頁面會連結到 Bot Framework 編輯器和 Bot Framework SDK 檔。Addition of an Azure Bot Service](/azure/bot-service/) hub page that links to both the Bot Framework Composer and the Bot Framework SDK documentation.
    • 語言產生、調適型運算式適應性對話方塊文章的更新。Updates to language generation, adaptive expressions, and adaptive dialog articles.
    • Bot Framework 編輯器檔的更新。Updates to the Bot Framework Composer documentation.
    • 針對驗證、技能、管道及其他主題發出修正程式和一般檔改進。Issue fixes and general documentation improvements to authentication, skills, channels, and other topics.

客戶支援能力Customer supportability

使用 Microsoft Bot Framework 的開發人員有許多 資源 可取得協助。Developers using the Microsoft Bot Framework have many resources for getting help. 內部工具已經過改善,可將工程團隊的回應能力提升為開發人員最感興趣的領域。Internal tools have been improved to increase the responsiveness of the engineering team in areas of most interest to developers.

  • 建立內部 bot 和改善的客戶支援工具。Creation of internal bots and improved tools for customer support.
  • 改善客戶回報的功能要求和問題的趨勢分析。Improved analytics of trends in customer reported feature requests and issues.
  • 跨 GitHub 存放庫協調標籤。Coordination of labels across GitHub repositories.

客戶要求Customer requests

  • 其他團隊頻道生命週期事件。Additional Teams channel lifecycle events.
  • 改良的 Application Insights 整合。Improved Application Insights integration.
  • 跨 GitHub 存放庫協調標籤。Coordination of labels across GitHub repositories.
  • 將地區設定新增至對話更新活動。Addition of a locale to the conversation update activity.
  • 針對按鈕上的影像,將替代文字支援新增至卡片動作。Added alt-text support to card actions for images on buttons.
  • 更新技能處理常式以傳回資源回應物件。Updated the skill handler to return a resource response object.
  • 包含最新版本的 Azure Blob 儲存體支援。Included support for the latest version of Azure Blobs storage.
  • OAuth 提示對話方塊的增強功能。Improvements to the OAuth prompt dialog.
  • 各種 bug 修正和遙測改進。Various bug fixes and telemetry improvements.

程式碼品質Code quality

  • 強制執行程式碼樣式和格式規則。Enforcing code style and format rules.
  • 改善的單元測試程式碼涵蓋範圍和品質。Improved unit test code coverage and quality.
  • 增加程式碼基底的程式碼剖析。Increased profiling of the code base.
  • REST API 在 SDK 存放庫之間整合的 Swagger 檔案。REST API Swagger files unified across SDK repositories. 引進檔案的版本。Introduced a version to the files.
  • 新增 c # 介面卡的設定物件模式。Added a settings object pattern for C# adapters.
  • 已新增 JavaScript SDK 中的相依性監察。Added dependency policing in the JavaScript SDK.
  • 新增調適型卡片和 Direct Line JavaScript 的整合測試。Added integration tests for Adaptive cards and Direct Line JavaScript.

新的 SDK 功能New SDK features

其他功能改進Other improvements

  • Microsoft 團隊 API 支援持續改進。Continued improvements to Microsoft Teams API support.
  • Bot Framework 的 CLI 工具新增 lg 為核心外掛程式,並包含其他整體工具改進。Bot Framework CLI tools added lg as a core plugin and included other overall tool improvements.
  • 已更新範例中的讀我檔案,並新增新的團隊 Typescript 範例。Updated the README files in the samples and added new Teams Typescript samples.
  • 編輯器改善了對技術的支援,並改善認知服務的整合。Composer improved support for skills and improved integration for Cognitive Services.
  • 網路聊天新增了許多協助工具改進。Web Chat added many accessibility improvements.
  • 模擬器新增了錯誤修正和更新。Emulator added bug fixes and updates.

新功能 (2020 年 5 月)What's new May 2020

適用于: SDK v4APPLIES TO: SDK v4

Bot Framework SDK v4 是開放原始碼 SDK,可讓開發人員使用其慣用的程式設計語言塑造與建置複雜的對話。The Bot Framework SDK v4 is an Open Source SDK that enable developers to model and build sophisticated conversation using their favorite programming language.

本文摘要說明 Bot Framework 和 Azure Bot Service 中的重要新功能和增強功能。This article summarizes key new features and improvements in Bot Framework and Azure Bot Service.

項目Item C#C# JSJS PythonPython JavaJava
版本Release 4.9.1 (GA)4.9.1 (GA) 4.9.0 (GA)4.9.0 (GA) 4.9.0 (GA)4.9.0 (GA) 4.6 預覽版4.6 Preview
範例Samples .NET CoreWebAPI.NET Core, WebAPI Node.jsTypeScriptes6Node.js, TypeScript, es6 PythonPython

歡迎使用 Bot Framework SDK 的 2020 年 5 月版。Welcome to the May 2020 release of the Bot Framework SDK. 此版本中有一些更新,我們希望您會喜歡,其中一些主要重點包括:There are a number of updates in this version that we hope you will like; some of the key highlights include:

  • 技能 - 技能現在支援調適型對話和所有活動類型,並已改善 SSO 和 OAuth 支援。Skills - Skills now support adaptive dialogs and all activity types, and have improved support for SSO and OAuth. 2.1 版技能資訊清單現已正式發行。The v2.1 skill manifest is now GA. 我們也新增了 Bot Framework Composer 支援,以便建立和使用技能。We also added Bot Framework Composer support for building and consuming Skills.
  • Microsoft Teams - 改善 Microsoft Teams API 支援,包括 Java 的支援!Microsoft Teams - Improvements in Microsoft Teams API support, including support in Java!
  • Bot 遙測 - 將對話對應至 Azure AppInsights 網頁檢視事件。Bot Telemetry - Mapping of Dialogs into Azure AppInsights Page View Events.
  • 調適型對話 - 更有彈性的事件驅動對話系統,可用於實作多回合交談模式。Adaptive Dialogs - A more flexible, event driven dialog system for implementing multi-turn conversational patterns.
  • 適用於調適型對話的 CLI 工具 - 可合併和驗證調適型結構描述資產的新功能。CLI tools for Adaptive Dialogs - new ability to merge and validate adaptive schema assets.
  • 語言生成 - 將語言和個人化回應新增至 Bot 交談。Language Generation - Add language and personality responses to your bot conversations.
  • 調適型運算式 - 使用 Bot 感知運算式來回應使用者輸入及驅動 Bot 功能。Adaptive Expressions - Use bot aware expressions to react to user input and drive bot functionality.
  • 驗證改進功能 - Bot 與技能之間的 SSO,以及 x.509 驗證改進功能。Authentication Improvements - SSO between Bots and Skills and improvements to X.509 auth.
  • 產生的對話 (早期預覽) - 從 JSON 或 JSON 結構描述自動建立利用調適型對話的健全 Bot Framework Composer 資產。Generated Dialogs (Early Preview) - Automatically create robust Bot Framework Composer assets from JSON or JSON Schema that leverage Adaptive Dialogs.
  • 適用於調適型對話的 VS Code 偵錯工具 (早期預覽) - 建立和驗證 .lu 與 .lg 文件,以及對以宣告方式定義的調適型對話進行偵錯。VS Code debugger for Adaptive Dialogs (Early Preview) - Create & validate .lu and .lg documents as well as debug declaratively defined adaptive dialogs.
  • Bot Framework Composer - 視覺撰寫畫布,供開發人員和多重專業小組用來建立 Bot。Bot Framework Composer - A visual authoring canvas for developers and multi-disciplinary teams to build bots.

測試人員:想要儘快嘗試新功能嗎?Insiders: Want to try new features as soon as possible? 您可下載每晚的測試人員組建 [C#] [JS] [Python] [CLI],並在最新的更新可供使用時立即嘗試。You can download the nightly Insiders build [C#] [JS] [Python] [CLI] and try the latest updates as soon as they are available. 如需最新的 Bot Framework 消息、更新和內容,請在 Twitter @msbotframework 上追蹤我們!And for the latest Bot Framework news, updates, and content, follow us on Twitter @msbotframework!

技術Skills

技能已更新為可搭配調適型對話運作,而調適型和傳統對話現在都會接受所有類型的活動。Skills have been updated to work with adaptive dialogs, and both adaptive and traditional dialogs will now accept all types of activities.

技能資訊清單結構描述已更新為 2.1 版The skill manifest schema has been updated to version 2.1. 此版本中的改進功能包括宣告和共用語言模型的功能,以及定義技能可接收的任何活動類型。Improvements in this version include the ability to declare & share your language models, and define any type of activity that your skill can receive.

此版本也包含技能的驗證改進功能,包括使用 SSO 搭配對話,以及不需要 WebChat 和 DirectLine 中神奇代碼的 OAuth。This release also includes authentication improvements with skills, including using SSO with dialogs, and OAuth without needing a magic code in WebChat and DirectLine.

Microsoft TeamsMicrosoft Teams

我們會繼續專注於確保所有 Teams 專屬 API 在我們的 SDK 中受到完整支援。We continue to focus on making sure all the Teams-specific APIs are fully supported across our SDKs. 此版本在預覽 Java SDK 中提供 Microsoft Teams API 的完整支援,包括範例This release brings full support for Microsoft Teams APIs in the preview Java SDK, including samples.

活動處理常式中的 OnTeamsMemberAdded 事件已更新為在幕後使用單一成員端點,這應該會大幅降低此事件在大型小組中的延遲和可靠性。The OnTeamsMemberAdded event in the activity handler has been updated to use the get single member endpoint under the covers, which should significantly reduce latency and reliability of this event in large teams.

TeamsChannelAccount 物件已更新為包含 userRole (擁有者、成員或來賓其中之一) 和 tenantId (適用於使用者的 tenantId)。The TeamsChannelAccount object has been updated to include userRole (one of owner, member, or guest) and tenantId (for the user's tenantId).

Bot 遙測Bot Telemetry

Bot 現在會在每次開始對話時,擷取網頁檢視事件 (Application Insights 的原生事件)。Bots now capture Page View events, native to Application Insights, whenever a dialog is started. 這可讓您使用 Application Insights 中的 [使用者流程] 儀表板,查看使用者如何在您的 Bot、對話之間移動,以及其退出之處。This allows you to use the User Flows dashboard in Application Insights to see how users move through your bot, between dialogs and where they drop out.

AppInsights 中的遙測

自適性對話方塊Adaptive Dialogs

我們也很高興能讓您以 c # 使用自動調整 對話方塊 ,並在 JavaScript 中提供預覽版本!We're also excited to make Adaptive Dialogs generally available in C# and as a preview release in JavaScript!

調適型對話會強化在 Bot Framework Composer 中找到的對話設計和管理製作功能,讓開發人員能夠根據內容和事件動態更新交談流程。Adaptive Dialogs, which underpin the dialog design and management authoring features found in Bot Framework Composer, enable developers to dynamically update conversation flow based on context and events. 在處理更複雜的交談需求 (例如環境切換和中斷情形) 時,這特別有用。This is especially useful when dealing with more sophisticated conversation requirements, such as context switches and interruptions. Bot Framework 技能現在也可利用調適型對話。Bot Framework Skills can now also leverage Adaptive Dialogs.

調適型對話現在也支援遙測。Adaptive Dialogs also now support Telemetry. 調適型對話中的資料,包括觸發程序、動作和辨識器現在都會送至您的 Azure Application Insights 執行個體。Data from Adaptive Dialogs, including triggers, actions and recognizers now flow into your Azure Application Insights instance.

適用於調適型對話的 CLI 工具CLI tools for Adaptive Dialogs

適用於調適型對話、語言生成、QnaMaker 和 LUIS 交叉訓練的 CLI 工具 - 這項新功能可用於合併及驗證調適型結構描述資產、擴充 qna 和 lu 檔案、建立/更新/取代/訓練/發佈 LUIS,以及操作 QnA Maker 應用程式和語言生成範本。CLI tools for Adaptive Dialogs, Language Generation, QnaMaker and Luis Cross-train - new ability to merge and validate adaptive schema assets, augment qna and lu files, create/ update/ replace/ train/ publish LUIS and or QnA maker application and Language Generation templates manipulation.

增加了新的 CLI 工具,以便管理調適型對話。New CLI Tools were added for management of Adaptive Dialogs.

  • bf-dialog 支援合併對話結構描述檔案,並可驗證檔案格式的正確性。bf-dialog supports merging dialog schema files and verify file format correctness.
  • bf-luis 新增一些命令來擴充 lu 檔案,以及建立/更新/取代/訓練/發佈 LUISbf-luis Adds commands to augment lu files and create/ update/ replace/ train/ publish LUIS
  • bf-qnamaker 新增一些命令來擴充 qna 檔案,以及建立/更新/取代/訓練/發佈 QnAMakerbf-qnamaker Adds commands to augment qna files and create/ update/ replace/ train/ publish QnAMaker
  • bf-lg 剖析、自動分頁、擴充及轉譯 lg 檔案。bf-lg Parse, collate, expand and translate lg files.

語言產生Language Generation

LG 已在 C# 和 JS 平台上正式推出 (GA)。LG is Generally Available (GA) on both the C# and JS Platforms.

語言生成 (LG) 可讓您定義片語的多種變化、根據內容執行簡單運算式,以及參考交談式記憶體。Language Generation (LG) enables you to define multiple variations of a phrase, execute simple expressions based on context, and refer to conversational memory. 語言生成的核心是範本擴充和實體替代。At the core of language generation lies template expansion and entity substitution. 您可以提供擴充的變化,也可以有條件地展開範本。You can provide one-of variation for expansion as well as conditionally expanding a template. 語言生成的輸出可以是簡單的文字字串、多行回應或複雜的物件承載,而語言生成的上一層會用來建構完整活動。The output from language generation can be a simple text string or multi-line response or a complex object payload that a layer above language generation will use to construct a complete activity. Bot Framework Composer 原本就支援語言生成使用 LG 範本系統來產生輸出活動。The Bot Framework Composer natively supports language generation to produce output activities using the LG templating system.

您可以使用語言生成來執行下列動作:You can use Language Generation to:

  • 讓 Bot 達成一致的特質、語調。Achieve a coherent personality, tone of voice for your bot.
  • 區分商務邏輯與呈現。Separate business logic from presentation.
  • 針對 Bot 的任何回覆,包含各種變化和複雜的組合。Include variations and sophisticated composition for any of your bot's replies.
  • 使用結構化回應範本來建構卡片、建議動作和附件。Construct cards, suggested actions and attachments using a structured response template.

語言生成可透過下列方式達成:Language Generation is achieved through:

  • 包含範本及其組合的 Markdown 型 .lg 檔案。A markdown based .lg file that contains the templates and their composition. 目前 Bot 記憶體的完整存取權,讓您可以將語言資料繫結至記憶體的狀態。Full access to the current bot's memory so you can data bind language to the state of memory.
  • 剖析器和執行階段程式庫,有助於達成執行階段解析。Parser and runtime libraries that help achieve runtime resolution.

調適型運算式Adaptive Expressions

調適型運算式已在 C# 和 JS 平台上正式推出 (GA)。Adaptive Expressions are Generally Available (GA) on both the C# and JS Platforms.

Bot 會使用運算式,根據記憶體中對話或語言生成系統可用的執行階段資訊來評估條件的結果。Bots use expressions to evaluate the outcome of a condition based on runtime information available in memory to the dialog or the Language Generation system. 這些評估可決定 Bot 如何回應使用者輸入,以及會影響 Bot 功能的其他因素。These evaluations determine how your bot reacts to user input and other factors that impact bot functionality.

已建立調適型運算式來解決此核心需求,以及提供可搭配 Bot Framework SDK 和其他交談式 AI 元件 (例如 Bot Framework Composer、語言生成、調適型對話和調適型卡片) 使用的調適型運算式語言。Adaptive expressions were created to address this core need as well as provide an adaptive expression language that can used with the Bot Framework SDK and other conversational AI components, like Bot Framework Composer, Language Generation, Adaptive dialogs, and Adaptive Cards.

調適型運算式可以包含一或多個明確值、預建函式或自訂函式。An adaptive expression can contain one or more explicit values, pre-built functions or custom functions. 調適型運算式的取用者也可以插入其他支援的函式。Consumers of adaptive expressions also have the capability to inject additional supported functions. 例如,所有語言生成範本均可作為函式提供,以及僅在該元件使用調適型運算式時提供的其他函式。For example, all Language Generation templates are available as functions as well as additional functions that are only available within that component's use of adaptive expressions.

驗證改進功能Authentication Improvements

我們新增了使用「應該回覆」時的單一登入支援。We added support for single sign-on while using Expect Replies. 這適用於在一對 Bot 之間執行的 SSO:主機和技能。This applies to SSO performed between a pair of bots: host and a skill.

針對 Bot 識別,我們新增了指定 sendx5c 參數以便進行憑證驗證的功能。For Bot Identification we've added the ability to specify sendx5c parameter for certificate authentication. 這項功能是由客戶要求,可在使用憑證驗證時提供更大彈性。This feature was requested by customers and allows for more flexibility when using cert auth.

支援其他主權雲端。Additional Sovereign Clouds are supported.

產生的對話 - 早期預覽Generated Dialogs - Early Preview

Bot Framework 有豐富的交談式建構元素集合,但是建立能自然交談的 Bot,則需要了解及協調語言理解、語言生成和對話管理。The Bot Framework has a rich collection of conversational building blocks, but creating a bot that feels natural to converse with requires understanding and coordinating across language understanding, language generation and dialog management. 為了簡化此程序並取得最佳做法,我們為 BotFramework CLI 工具建立了 bf-generate 外掛程式。To simplify this process and capture best practices, we've created the bf-generate plugin for the BotFramework CLI tool. 產生的對話會使用事件驅動的調適型對話搭配一組豐富且不斷演進的功能,包括:The generated dialogs make use of event-driven adaptive dialogs with a rich and evolving set of capabilities including:

  • 針對簡單和陣列屬性,處理多個紊亂回應。Handle out of order and multiple responses for simple and array properties.
  • 新增、移除、清除和顯示屬性。Add, remove, clear and show properties.
  • 支援在不明確的實體值與實體屬性對應之間進行選擇。Support for choosing between ambiguous entity values and entity property mappings.
  • 辨識並對應所有 LUIS 預建實體。Recognizing and mapping for all LUIS prebuilt entities.
  • Help 函式,包括多次重試的 auto-help。Help function, including auto-help on multiple retries.
  • 取消Cancel
  • 確認Confirmation

VS Code 偵錯工具 - 早期預覽VS Code Debugger - Early Preview

調適型工具是全新的 Visual Studio Code 擴充功能,可用於建立/驗證 .lu 和 .lg 文件,以及對以宣告方式定義的調適型對話進行偵錯。Adaptive tools is a brand new Visual studio code extension you can use to create/ validate .lu and .lg documents as well as debug declaratively defined adaptive dialogs. 此擴充功能為 .lu 和 .lg 檔案格式提供了豐富的撰寫和編輯功能,包括語法醒目提示、自動建議和自動完成。This extension provides rich authoring & editing capabilities for .lu and .lg file formats including syntax highlighting, auto-suggest and auto-complete.

我們預計在此版本之後,很快就會將早期預覽新增至 VS Marketplace。We anticipate adding an early preview to the VS Marketplace shortly after this release.

Bot Builder 社群Bot Builder Community

在此版本期間,Bot Builder 社群藉由新增更多的功能、更多配接器,以及修正更多錯誤 (bug),進一步提升了品質標準。During this release, the Bot Builder Community has further raised the bar by adding more features, more adapters, and fixing more bugs.

  1. 已修訂的 C# Alexa 配接器Google Home 配接器從頭重新建置 (從 Alexa 開始),以允許 Azure Bot Service 取用配接器並以通道的形式提供。A revised C# Alexa Adapter and Google Home Adapter Re-built from the ground up, starting with Alexa, to allow the adapters to be consumed by Azure Bot Service and made available as channels. 改進功能包括更好的原生活動類型對應、已改進的 Markdown 轉譯,以及更複雜案例的支援 (例如合併多個傳出活動)。Improvements include better native activity type mapping, improved markdown rendering and support for more complex scenarios (such as merging multiple outgoing activities).

  2. 新的 c # Zoom 介面卡 ,支援縮放1:1 和通道聊天功能,並將它們轉換成原生 BF 活動類型。A new C# Zoom Adapter that supports Zoom 1:1 and channel chat capabilities and converts them to native BF activity types. 您可以使用它來訂閱縮放支援的任何事件,並完整支援縮放的互動式訊息和豐富的訊息範本。With it, you can subscribe to any event that Zoom supports, with full support for Zoom interactive messages and rich message templates. (介面卡會將縮放事件轉譯成 BF 事件活動。 ) (The adapter translates Zoom events into BF event activities.)

  3. RingCentral 配接器A RingCentral Adapter. RingCentral Engage 配接器可讓您將額外的端點新增至 Bot,以便進行 RingCentral Engage Digital Platform 整合。The RingCentral Engage adapter allows you to add an additional endpoint to your bot for RingCentral Engage Digital Platform integration. RingCentral 端點可以搭配其他通道使用,例如,您可在現成的通道 (例如 Facebook 和 Teams) 上公開 Bot,但也將其當作 RingCentral Engage Digital 來源 SDK 整合到 RingCentral 中。The RingCentral endpoint can be used in conjunction with other channels meaning, for example, you can have a bot exposed on out of the box channels such as Facebook and Teams, but also integrated as an RingCentral Engage Digital Source SDK into RingCentral.

Bot Framework 編輯器Bot Framework Composer

Bot Framework Composer 已在 Windows | macOS | Linux 平台上正式發行 (GA)。Bot Framework Composer is Generally Available (GA) on the Windows | macOS | Linux platforms.

Bot Framework Composer 是視覺撰寫畫布,供開發人員和多重專業小組用來建立 Bot。Bot Framework Composer is a visual authoring canvas for developers and multi-disciplinary teams to build bots. 其是以 Microsoft Bot Framework SDK 為基礎的開放原始碼交談應用程式。It is an open source conversational application based on the Microsoft Bot Framework SDK. 在 Composer 內,您會找到建立複雜的對話體驗所需的所有項目:Within Composer, you will find everything you need to build a sophisticated conversational experience:

  • 用於對話流程的視覺編輯畫布。A visual editing canvas for conversation flow.
  • 用於語言理解的內容中編輯。In-context editing for language understanding.
  • 用於定型和管理語言理解 (例如 LUIS 和 QnA Maker) 元件的工具。Tools to train and manage language understanding (such as LUIS and QnA Maker) components.
  • 功能強大的語言產生和範本系統。Powerful language generation and templating systems.
  • 立即可用的 Bot 執行時間可執行檔。A ready-to-use bot run-time executable.

2019 年 11 月的新功能What's new November 2019

Bot Framework SDK v4 是開放原始碼 SDK,可讓開發人員使用其慣用的程式設計語言塑造與建置複雜的對話。The Bot Framework SDK v4 is an Open Source SDK that enable developers to model and build sophisticated conversation using their favorite programming language.

本文摘要說明 Bot Framework 和 Azure Bot Service 中的重要新功能和增強功能。This article summarizes key new features and improvements in Bot Framework and Azure Bot Service.

項目Item C#C# JSJS PythonPython JavaJava
版本Release 4.6 GA4.6 GA 4.6 GA4.6 GA Beta 4Beta 4 Preview 3Preview 3
DocsDocs docsdocs docsdocs
範例Samples .NET CoreWebAPI.NET Core, WebAPI Node.jsTypeScriptes6Node.js, TypeScript, es6

適用於 Microsoft Teams 的 Bot Framework SDK (GA)Bot Framework SDK for Microsoft Teams (GA)

Bot Framework SDK 4.6 版已完全整合 Teams Bot 的建置支援,可讓使用者在通道或群組聊天對話中使用這些 Bot。The Bot Framework SDK v4.6 release fully integrates support for building Teams bots allowing users to use them in channel or group chat conversations. 藉由將 Bot 新增至小組或聊天中,讓對話的所有使用者都可以在對話中直接使用 Bot 功能。By adding a bot to a team or chat, all users of the conversation can take advantage of the bot functionality right in the conversation. [Docs][Docs]

適用於 Power Virtual Agent 的 Bot Framework (預覽)Bot Framework for Power Virtual Agent (Preview)

Power Virtual Agent 的設計訴求是讓商務使用者可以在建置 SaaS 體驗的 UI 型 Bot 中建立 Bot,而不需要撰寫程式碼或管理特定 AI 服務。Power Virtual Agent is designed to enable business users to create bots within a UI-based bot building SaaS experience, without having to code or manage specific AI services. Power Virtual Agents 可透過 Microsoft Bot Framework 進行擴充,讓開發人員和商務使用者可一起為其組織建置 Bot。Power Virtual Agents can be extended with the Microsoft Bot Framework, allowing developers and business users to collaborate in building bots for their organizations. [Docs][Docs]

用於建立技能的 Bot Framework SDK (預覽)Bot Framework SDK for Skills (Preview)

  • Bot 的技能:建立可重複使用的對話技能,以將功能新增至 Bot。Skills for bots: Create reusable conversational skills to add functionality to a bot. 利用預先建立的技能,例如行事曆、電子郵件、工作、景點、汽車、天氣和新聞技能。Leverage pre-built skills, such as Calendar, Email, Task, Point of Interest, Automotive, Weather and News skills. 技能包括因需求而進行自訂和延伸時所傳遞的語言模型、對話、問與答及整合程式碼。Skills include language models, dialogs, QnA, and integration code delivered to customize and extend as required. [Docs][Docs]

  • Power Virtual Agent 的技能 - 即將推出! :針對使用 Power Virtual Agents 建立的 Bot,您可以使用 Bot Framework 和 Azure 認知服務來為這些 Bot 建置新的技能,而不需要從頭建立新的 Bot。Skills for Power Virtual Agent - Coming!: For bots built with Power Virtual Agents, you can build new skills for these bots using Bot Framework and Azure Cognitive Services without needing to build a new bot from scratch.

自適性對話方塊 (預覽)Adaptive Dialogs (Preview)

自適性對話方塊可讓開發人員根據內容和事件來動態更新對話流程。Adaptive Dialogs enable developers to dynamically update conversation flow based on context and events. 在處理對話過程中的對話環境切換和中斷情形時,這特別有用。This is especially handy when dealing with conversation context switches and interruptions in the middle of a conversation. [Docs | C# 範例][Docs | C# samples]

語言產生 (預覽)Language Generation (Preview)

語言產生可讓開發人員區隔用來產生 Bot 回應的邏輯,包括定義片語的多個變化、根據內容執行簡單運算式,以及參考對話記憶。Language Generation enables developers to separate logic used to generate bot's respones including the ability to define multiple variations on a phrase, execute simple expressions based on context, refer to conversational memory. [Docs | C# 範例][Docs | C# samples]

通用運算式語言 (預覽)Common Expression Language (Preview)

通用運算式語言可讓您在執行階段上評估條件式邏輯的結果。Common Expression Language allows you to evaluate the outcome of a condition-based logic at runtime. 您可以跨 Bot Framework SDK 和對話式 AI 元件使用通用語言,例如自適型對話方塊和語言產生。Common language can be used across the Bot Framework SDK and conversational AI components, such as Adaptive Dialogs and Language Generation. [Docs | API][Docs | API]

新功能 (2019 年 7 月)What's new (July 2019)

Bot Framework SDK v4 是開放原始碼 SDK,可讓開發人員使用其慣用的程式設計語言塑造與建置複雜的對話。The Bot Framework SDK v4 is an Open Source SDK that enable developers to model and build sophisticated conversation using their favorite programming language.

本文摘要說明 Bot Framework 和 Azure Bot Service 中的重要新功能和增強功能。This article summarizes key new features and improvements in Bot Framework and Azure Bot Service.

項目Item C#C# JSJS PythonPython
SDKSDK 4.54.5 4.54.5 4.4.0 b2 (預覽)4.4.0b2 (preview)
DocsDocs docsdocs docsdocs
範例Samples .NET CoreWebAPI.NET Core, WebAPI Node.jsTypeScriptes6Node.js , TypeScript, es6 PythonPython

Bot Framework 通道Bot Framework Channels

  • Direct Line Speech (公開預覽) | docs:Bot Framework 和 Microsoft 的語音服務都會提供通道,以便使用 WebSockets 在用戶端與 Bot 應用程式之間雙向串流語音和文字。Direct Line Speech (public preview) | docs: Bot Framework and Microsoft's Speech Services provide a channel that enables streamed speech and text bi-directionally from the client to the bot application using WebSockets.

  • Direct Line App Service 擴充功能 (公開預覽) | docs:可讓用戶端使用 Direct Line API 直接連線到 Bot 的 Direct Line 版本。Direct Line App Service Extension (public preview) | docs: A version of Direct Line that allows clients to connect directly to bots using the Direct Line API. 這可提供許多優點,包括提升的效能和更多隔離。This offers many benefits, including increased performance and more isolation. Direct Line App Service 擴充功能適用於所有的 Azure App Service,包括 Azure App Service 環境內裝載的服務。Direct Line App Service Extension is available on all Azure App Services, including those hosted within an Azure App Service Environment. Azure App Service 環境可提供隔離,且很適合在 VNet 中運作。An Azure App Service Environment provides isolation and is ideal for working within a VNet. VNet 可讓您在 Azure 中建立自己的私人空間,而對您的雲端網路而言非常重要,因為它可提供隔離、分割和其他主要優點。A VNet lets you create your own private space in Azure and is crucial to your cloud network as it offers isolation, segmentation, and other key benefits.

Bot Framework SDKBot Framework SDK

  • 自適性對話方塊 (SDK v4.6 預覽) | docs | C# 範例:自適性對話方塊現在可讓開發人員根據內容和事件來動態更新交談流程。Adaptive Dialog (SDK v4.6 preview) | docs | C# samples: Adaptive Dialog now allow developers to dynamically update conversation flow based on context and events. 在處理交談過程中的交談環境切換和中斷情形時,這特別有用。This is especially useful when dealing with conversation context switches and interruptions in the middle of a conversation.

  • Bot Framework Python SDK (預覽 2) | 範例:Python SDK 現在支援 OAuth、提示、CosmosDB,且包含 SDK 4.5 中的所有主要功能。Bot Framework Python SDK (preview 2) | samples: The Python SDK now supports OAuth, Prompts, CosmosDB, and includes all major functionality in SDK 4.5. 此外,這些範例也可協助您了解 SDK 中的新功能。Plus, samples to help you learn about the new features in the SDK.

Bot Framework 測試Bot Framework Testing

  • 檔 | (c # / JavaScript) 的單元測試套件 |C # 範例 | JS 範例:解決客戶和開發人員的要求提供更佳的測試控管,7月版的 SDK 引進了新的單元測試功能。Docs | Unit testing packages (C#/ JavaScript) | C# sample | JS sample: Addressing customers' and developers' ask for better testing tools, the July version of the SDK introduces a new unit testing capability. Microsoft.Bot.Builder.testing 套件可簡化 Bot 中單元測試對話的程序。The Microsoft.Bot.Builder.testing package simplifies the process of unit testing dialogs in your bot.

  • 通道測試 | docsChannel Testing | docs:

在 Microsoft Build 2019 引進的 Bot 偵測器是 Bot Framework Emulator 中的新功能,可讓您在 Microsoft 小組、時差等通道上進行 bot 的偵錯工具和測試。Introduced at Microsoft Build 2019, the Bot Inspector is a new feature in the Bot Framework Emulator which lets you debug and test bots on channels like Microsoft Teams, Slack, and more. 當您在特定通道上使用 Bot 時,訊息便會鏡像傳送到 Bot Framework Emulator,您可以在其中檢查 Bot 所收到的訊息資料。As you use the bot on specific channels, messages will be mirrored to the Bot Framework Emulator where you can inspect the message data that the bot received. 此外,也會呈現通道和 Bot 之間任何給定回合的 Bot 記憶體狀態快照集。Additionally, a snapshot of the bot memory state for any given turn between the channel and the bot is rendered as well.

網路聊天Web Chat

  • 根據企業客戶的詢問,我們新增了一個網路聊天範例,示範如何授權使用者透過 Bot 存取企業應用程式上的資源。Based on enterprise customers asks, we've added a web chat sample that shows how to authorize a user to access resources on an enterprise app with a bot. 有兩種類型的資源可用來示範 OAuth 與 Microsoft Graph 和 GitHub API 的互通性。Two types of resources are used to demonstrate the interoperability of OAuth with Microsoft Graph and GitHub API.

方案Solutions

  • 虛擬助理解決方案加速器:提供一組範本、解決方案加速器和技能,協助您打造精細的交談式體驗。Virtual Assistant Solution Acclerator : Provides a set of templates, solution accelerators and skills to help build sophisticated conversational experiences. 適用於虛擬助理的新 Android 應用程式用戶端,該用戶端與 Direct-Line Speech 和虛擬助理整合,可示範裝置用戶端如何與虛擬助理互動及呈現調適型卡片。New Android app client for Virtual Assistant that integrates with Direct-Line Speech and Virtual Assistant demonstrating how a device client can interact with your Virtual Assistant and render Adaptive Cards. 更新也包含 Direct-Line Speech 和 Microsoft Teams 的支援。Updates also include support for Direct-Line Speech and Microsoft Teams.

  • Dynamics 365 Virtual Agent for Customer Service (公開預覽):使用公開預覽版,您可以透過智慧型、可調式虛擬代理程式提供出色的客戶服務。Dynamics 365 Virtual Agent for Customer Service (public preview): With the public preview, you can provide exceptional customer service with intelligent, adaptable virtual agents. 客戶服務專家可以透過 AI 驅動的深入解析,輕鬆地建立及增強 Bot。Customer service experts can easily create and enhance bots with AI-driven insights.

  • Chat for Dynamics 365:Chat for Dynamics 365 提供幾項功能,可確保支援專員和終端使用者可以有效地互動並保持高生產力。Chat for Dynamics 365: Chat for Dynamics 365 offers several capabilities to ensure the support agents and end users can interact effectively and remain highly productive. 在 Microsoft Dynamics 365 中進行即時聊天並追蹤來自網站訪客的交談。Live chat and track conversations from visitors on your website within Microsoft Dynamics 365.

新功能 (2019 年 5 月)What's new (May 2019)

項目Item C#C# JSJS PythonPython JavaJava
SDKSDK 4.4.34.4.3 4.4.04.4.0 4.4.0b1 (預覽)4.4.0b1 (preview) 4.0.0a6 (預覽)4.0.0a6 (preview)
DocsDocs docsdocs docsdocs
範例Samples .NET CoreWebAPI.NET Core, WebAPI Node.jsTypeScriptes6Node.js , TypeScript, es6 PythonPython

Bot Framework SDK (新功能!Bot Framework SDK (New! 處於預覽狀態)In preview)

  • 自適性對話方塊 | docs | C# 範例:自適性對話方塊可讓開發人員建置對話,並隨著對話的進展而動態變化。Adaptive Dialog | docs | C# samples: Adaptive Dialogs enable developers to build conversations that can be dynamically changed as the conversation progresses. 傳統上,開發人員已事先安排好整個對話流程,但這會限制對話彈性。Traditionally developers have mapped out the entire flow of a conversation up front, which limits the flexibility of the conversation. 自適性對話方塊則可讓開發人員更有彈性地回應內容變化,並隨著對話的進展而插入新步驟或整個子對話方塊。Adaptive dialogs allow them to be more flexible, to respond to changes in context and insert new steps or entire sub-dialogs into the conversation as it progresses.

  • 語言產生 | docs | C# 範例:語言產生可讓開發人員從程式碼和資源檔案中擷取出內嵌字串,並透過語言產生執行階段和檔案格式來進行管理。Language Generation | docs | C# samples: Language Generation; which allows the developer to extract the embedded strings from their code and resource files and manage them through a Language Generation runtime and file format. 語言產生可讓客戶對片語定義多個變化、執行以內容為基礎的簡單運算式、參考對話式記憶體,久而久之,我們將能夠讓所有額外功能變成更自然的對話式體驗。Language Generation enable customers to define multiple variations on a phrase, execute simple expressions based on context, refer to conversational memory, and over time will enable us to bring additional capabilities all leading to a more natural conversational experience.

  • 常見的運算式語言 | api:自適性對話方塊和語言產生均依賴並使用常見的運算式語言來支援 Bot 對話。Common Expression Language | api: Both Adaptive dialogs and Language Generation rely on and use a common expression language to power bot conversations.

BotkitBotkit

Botkit 是一種開發人員工具和 SDK,可用於為主要的傳訊平台建置聊天 Bot、應用程式和自訂整合。Botkit is a developer tool and SDK for building chat bots, apps and custom integrations for major messaging platforms. Botkit Bot 會 hear() 觸發程序、ask() 問題和 say() 回覆。Botkit bots hear() triggers, ask() questions and say() replies. 開發人員可以使用此語法來建置對話方塊 - 現在可與 Bot Framework SDK 的最新版本交叉相容。Developers can use this syntax to build dialogs - now cross compatible with the latest version of Bot Framework SDK.

此外,Botkit 還帶來 6 個平台配接器,可讓 Javascript Bot 應用程式直接與傳訊平台通訊:SlackWebex TeamsGoogle HangoutsFacebook MessengerTwilio網路聊天In addition, Botkit brings with it 6 platform adapters allowing Javascript bot applications to communicate directly with messaging platforms: Slack, Webex Teams, Google Hangouts, Facebook Messenger, Twilio, and Web chat.

Botkit 是 Microsoft Bot Framework 的一部分,其依據 MIT 開放原始碼授權來發行Botkit is part of Microsoft Bot Framework and is released under the MIT Open Source license

Bot Framework 解決方案 (新功能!Bot Framework Solutions (New! 處於預覽狀態)In preview)

Bot Framework 解決方案存放庫是一組範本、解決方案加速器和技能的所在地,可用來協助建置類似小幫手的進階對話式體驗。The Bot Framework Solutions repository is the home for a set of templates, solution accelerators and skills to help build advanced, assistant-like conversational experiences.

名稱Name 描述Description
虛擬小幫手Virtual Assistant 客戶極需要提供專屬於其品牌的對話式小幫手,並且還需要為他們的使用者量身打造,以及在各種畫布和裝置上提供使用。Customers have a significant need to deliver a conversational assistant tailored to their brand, personalized to their users, and made available across a broad range of canvases and devices.

企業範本可大幅簡化新 Bot 專案的建立程序,包括:基本的對話式意圖、分派整合、QnA Maker、Application Insights 和自動化部署。The Enterprise Template greatly simplifies the creation of a new bot project including: basic conversational intents, Dispatch integration, QnA Maker, Application Insights and an automated deployment.
技能Skills 開發人員藉由將可重複使用的交談式功能 (稱為技能) 拼接在一起,即可撰寫交談式體驗。Developers can compose conversational experiences by stitching together re-usable conversational capabilities, known as Skills. 技能本身就是可從遠端叫用的 Bot,而且有技能開發人員範本 (.NET、TS) 可供加速新技能的建立。Skills are themselves Bots, invoked remotely and a Skill developer template (.NET, TS) is available to facilitate creation of new Skills.
分析Analytics 利用對話式 AI 分析解決方案,深入瞭解 bot 的健康情況和行為。Gain key insights into your bot's health and behavior with the Conversational AI Analytics solutions. 查看可用的遙測、範例 Application Insights 查詢,以及 Power BI 儀表板,以瞭解您的 bot 與使用者之間的所有交談。Review available telemetry, sample Application Insights queries, and Power BI dashboards to understand the full breadth of your bot's conversations with users.

Azure Bot 服務Azure Bot Service

Azure Bot Service 可讓您裝載有智慧的企業級 Bot,且您可以完整擁有和控制您的資料。Azure Bot Service enables you to host intelligent, enterprise-grade bots with complete ownership and control of your data. 開發人員可以註冊其 bot,並將其連線至 Microsoft 小組、網路聊天等的使用者。Developers can register and connect their bots to users on Microsoft Teams, Web Chat, and more. Azure | docs | 連線至通道Azure | docs | connect to channels

  • Direct Line JS 用戶端:如果您想要在 Azure Bot Service 中使用 Direct Line 通道,而不要使用網路聊天用戶端,則可以在自訂應用程式中使用 Direct Line JS 用戶端。Direct Line JS Client: If you want to use the Direct Line channel in Azure Bot Service and are not using the WebChat client, the Direct Line JS client can be used in your custom application. 如需詳細資訊,請移至 GitHubGo to Github for more information.

  • 新功能!Direct Line Speech 通道:我們會結合 Bot Framework 和 Microsoft 的語音服務來提供通道,以便能在用戶端與 Bot 應用程式之間雙向串流語音和文字。New! Direct Line Speech Channel: We are bringing together the Bot Framework and Microsoft's Speech Services to provide a channel that enables streamed speech and text bi-directionally from the client to the bot application. 如需詳細資訊,請參閱如何新增語音通道至 BotFor more information, see how to add speech channel to your bot.

Bot Framework 模擬器Bot Framework Emulator

Bot Framework Emulator 是跨平台的桌面應用程式,可讓 Bot 開發人員針對使用 Bot Framework SDK 所建置的 Bot 進行測試和偵錯。The Bot Framework Emulator is a cross-platform desktop application that allows bot developers to test and debug bots built using the Bot Framework SDK. 您可以使用 Bot Framework Emulator 來測試在電腦本機上執行的 Bot,或用來連線至遠端執行的 Bot。You can use the Bot Framework Emulator to test bots running locally on your machine or to connect to bots running remotely.

Bot Inspector (新功能!Bot Inspector (New! 處於預覽狀態)In preview)

Bot Framework Emulator 已發行新 Bot Inspector 功能的搶鮮版 (Beta)。The Bot Framework Emulator has released a beta of the new Bot Inspector feature. 它提供一種方法,可讓您在 Microsoft 小組、時差、Facebook Messenger 等管道上,對您的 Bot Framework SDK v4 bot 進行偵錯工具和測試。當您有對話時,訊息將會鏡像至 Bot Framework Emulator 您可以在其中檢查 Bot 所收到的訊息資料。It provides a way to debug and test your Bot Framework SDK v4 bots on channels like Microsoft Teams, Slack, Facebook Messenger,etc. As you have the conversation, messages will be mirrored to the Bot Framework Emulator where you can inspect the message data that the bot received. 此外,也會呈現通道和 Bot 之間任何給定回合的 Bot 狀態快照集。Additionally, a snapshot of the bot state for any given turn between the channel and the bot is rendered as well. 深入了解 Bot InspectorRead more about Bot Inspector.

Language UnderstandingLanguage Understanding

該服務以機器學習為基礎,可用來建置自然語言體驗。A machine learning-based service to build natural language experiences. 快速建立持續改進的企業級自訂模型。Quickly create enterprise-ready, custom models that continuously improve. Language Understanding 服務 (LUIS) 可讓應用程式了解人在文字中所表達的意思。Language Understanding Service(LUIS) allows your application to understand what a person wants in their own words.

  • 新功能!角色、外部實體和動態實體:LUIS 新增了數個功能,可讓開發人員從文字擷取更詳細的資訊,讓使用者現在可以用最少的力氣建置更有智慧的解決方案。New! Roles, External Entities and Dynamic Entities: LUIS has added several features that let developers extract more detailed information from text, so users can now build more intelligent solutions with less effort. LUIS 也將角色延伸到所有實體類型,讓相同的實體可根據內容使用不同的子類型來分類。LUIS also extended roles to all entity types, which allows the same entities to be classified with different subtypes based on context. 開發人員現在可以更細微的控制其可以使用 LUIS 執行的動作,包括能夠在執行階段透過動態清單和外部實體識別和更新模型。Developers now have more granular control of what they can do with LUIS, including being able to identify and update models at runtime through dynamic lists and external entities. 動態清單可用來在預測階段附加至清單實體,而讓使用者專屬資訊可以完全相符。Dynamic lists are used to append to list entities at prediction time, permitting user-specific information to get matched exactly. 個別的增補實體擷取器會使用外部實體來執行,且該資訊可以附加至 LUIS 作為其他模型的強烈訊號。Separate supplementary entity extractors are run with external entities, and that information can be appended to LUIS as strong signals for other models.

  • 新功能!分析儀表板:LUIS 會釋出更詳細、有豐富視覺效果的完善分析儀表板。New! Analytics dashboard: LUIS is releasing a more detailed, visually-rich comprehensive analytics dashboard. 其方便使用的設計會強調大部分使用者在設計應用程式時所面臨的常見問題,方法是提供簡單的說明來解決這些問題,以協助使用者深入瞭解其模型的品質、潛在的資料問題,以及採用最佳作法的指引。Its user-friendly design highlights common issues most users face when designing applications, by providing simple explanations on how to resolve them to help users gain more insight into their models' quality, potential data problems, and guidance to adopt best practices.

Docs | 將語言理解新增至 BotDocs | Add language understanding to your bot

QnA MakerQnA Maker

QnA Maker 是一項雲端式 API 服務,可對您的資料建立交談式的問答層。QnA Maker is a cloud-based API service that creates a conversational, question-and-answer layer over your data. 透過 QnA Maker,您可以根據常見問題集 URL、結構化文件、產品手冊或期刊內容,在短短幾分鐘內建置、定型及發佈簡單的問答 Bot。With QnA Maker, you can build, train and publish a simple question and answer bot based on FAQ URLs, structured documents, product manuals or editorial content in minutes.

  • 新功能!擷取管線:現在,您可以從 URL、檔案和 SharePoint 擷取階層式資訊New! Extraction pipeline: Now you can extract hierarchical information from URLs, files and sharepoint
  • 新功能!智慧:內容相關的排名模型、主動式學習建議New! Intelligence: Contextual ranking models, active learning suggestions
  • 新功能!對話:QnA Maker 中的多回合對話。New! Conversation: Multi-turn conversations in QnA Maker.

Docs | 將 QnAMaker 新增至 BotDocs | add qnamaker to your bot

語音服務Speech Services

語音服務會使用整合的語音服務將音訊轉換成文字,並執行語音翻譯和文字轉換語音。Speech Services convert audio to text, perform speech translation and text-to-speech with the unified Speech services. 透過語音服務,您可以將語音整合至 Bot、建立自訂喚醒字組,並以多種語言撰寫。With the speech services, you can integrate speech into your bot, create custom wake words, and author in multiple languages.

調適型卡片Adaptive Cards

自適性卡片是一套開放式標準,可讓開發人員以通用且一致的方式交換卡片內容,並可讓 Bot Framework 的開發人員用來建立絕佳的跨通道對話式體驗。Adaptive Cards are an open standard for developers to exchange card content in a common and consistent way, and are used by Bot Framework developers to create great cross-channel conversational experiences.

其他資訊Additional information