您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

什么是自定义 AI 决策服务?What is Custom Decision Service?

在典型的 Web 或移动应用程序中,通过首页可链接至一些文章或其他类型的内容。In a typical web or mobile application, a front page links to several articles or other types of content. 加载首页时,它可能请求自定义 AI 决策服务对该首页包含的文章设置优先级。As the front page loads, it could request the Custom Decision Service to rank articles included on that front page. 因此,当用户单击选中文章时,下一个请求可能会被发送至自定义 AI 决策服务,自定义 AI 决策服务将记录用户的决定结果。So, when a user chooses an article by clicking on it, a second request could be sent to the Custom Decision Service, which will log the outcome of that user decision.

自定义 AI 决策服务易于使用,因为它只需要要添加到应用程序中的内容的 RSS 源和几行 JavaScript。Custom Decision Service is easy to use, as it requires only an RSS feed for your content and a few lines of JavaScript to be added into your application.

自定义 AI 决策服务可将内容转换为用于机器学习的功能。Custom Decision Service converts your content into features for machine learning. 系统使用这些功能来通过文本、图像、视频和整体情绪层面理解内容。The system uses these features to understand your content in terms of its text, images, videos, and overall sentiment. 它使用几种其他的 Microsoft 认知服务,例如实体链接文本分析情感以及计算机视觉It uses several other Microsoft Cognitive Services, like Entity Linking, Text Analytics, Emotion, and Computer Vision.

以下是自定义 AI 决策服务的一些常见用例:Some common-use cases for Custom Decision Service include:

  • 对新闻网站上的文章进行个性化设置Personalizing articles on a news website
  • 对媒体门户上的视频内容进行个性化设置Personalizing video content on a media portal
  • 优化广告布局或广告指向的网页Optimizing ad placements or web pages that the ad directs to
  • 对购物网站上的推荐产品设置优先级。Ranking recommended items on a shopping website.

自定义 AI 决策服务目前提供免费公共预览版 。Custom Decision Service is currently in free public preview. 它可以对网站或应用上的大量文章进行个性化设置。It can personalize a list of articles on a website or an app. 特征提取功能最适用于英语内容。The feature extraction works best for English language content. 目前为其他语言提供有限的功能,例如西班牙语、法语、德语、葡萄牙语和日语。Limited functionality is offered for other languages, like Spanish, French, German, Portuguese, and Japanese. 本文档将在新功能可用时进行修订。This documentation will be revised as new functionality becomes available.

自定义 AI 决策服务可用于内容个性化域以外的应用程序。Custom Decision Service can be used in applications that are not in the content personalization domain. 这些应用程序也许非常适合自定义预览。These applications might be a good fit for a custom preview. 若要了解详细信息,请联系我们Contact us to learn more.

API 使用模式API usage modes

自定义 AI 决策服务可用于网页和移动应用。Custom Decision Service can be applied to both webpages and mobile apps. 可从浏览器或应用调用 API。The APIs can be called from either a browser or an app. 两种情况下的 API 用法很相似,但在某些细节上存在区别。The API usage is similar on both, but some of the details are different.

术语词汇表Glossary of terms

本文档中频繁出现了几个术语:Several terms frequently occur in this documentation:

  • 操作集:自定义 AI 决策服务对其设置优先级的内容项集。Action set: The set of content items for Custom Decision Service to rank. 可将此集指定为 RSS 或 Atom 终结点 。This set can be specified as an RSS or Atom endpoint.
  • 设置优先级:向自定义 AI 决策服务发送的每个请求都指定一个或多个操作集。Ranking: Each request to Custom Decision Service specifies one or more action sets. 系统通过选取这些操作集中的所有内容选项做出响应,然后按优先级顺序将其返回。The system responds by picking all the content options from these sets and returns them in ranked order.
  • 回调函数:此函数由你指定,可呈现 UI 中的内容。Callback function: This function, which you specify, renders the content in your UI. 该内容按自定义 AI 决策服务返回的优先级顺序进行排列。The content is ordered by the rank ordering returned by Custom Decision Service.
  • 回馈:用户对呈现内容的反应情况的度量值。Reward: A measure of how the user responded to the rendered content. 自定义 AI 决策服务通过点击数来衡量用户的反应情况。Custom Decision Service measures user response by using clicks. 点击数是通过使用插入到应用程序中的自定义代码报告给系统的。The clicks are reported to the system by using custom code inserted in your application.

后续步骤Next steps