UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Document Understanding 活动

上次更新日期 2026年4月22日

机器学习分类器

UiPath.DocumentUnderstanding.ML.Activities.MachineLearningClassifier

描述

Enables data classification from documents using document classification ML models provided by UiPath®. The Machine Learning Classifier activity can work by default with Invoices, Purchase Orders, Receipts, and Utility Bills. This activity can be used only within the Classify Document Scope activity.

备注:

You cannot use this activity with modern projects. Visit Automations in Document Understanding to check the methods you can use for your modern projects.

项目兼容性

Windows - Legacy | Windows

配置

设计器面板
  • Endpoint - Provide the public ML Skill URL from the AI Center service. An Endpoint is required for on-premises or different Orchestrator instance scenarios. Choose only Endpoint or ML Skills, not both.
  • MLSkill - Provides the MLSkills list available in the AI Center service. Choose the ML Skill hosting the document classification machine learning model. The ML Skill is the only available option when you connect the robot to the AI Center through the same Orchestrator instance.
  • ApiKey - The API key used to provide you access to the Machine Learning Classifier. The API Key field is automatically pre-populated if defined in local project settings or in the Document Understanding framework. If you want to add the API Key manually, visit API key for more information about retrieving the API Key.
属性面板

常见

  • “显示名称”- 活动的显示名称。

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

服务器

  • ApiKey - The API key used to provide you access to the Machine Learning Classifier. The API Key field is automatically pre-populated if defined in local project settings or in the Document Understanding framework. If you want to add the API Key manually, visit API key for more information about retrieving the API Key.
  • Endpoint - Provide the public ML Skill URL from the AI Center service. An Endpoint is required for on-premises or different Orchestrator instance scenarios. Choose only Endpoint or ML Skills, not both.
  • MLSkill - Provides the MLSkills list available in the AI Center service. Choose the ML Skill hosting the document classification machine learning model. The ML Skill is the only available option when you connect the robot to the AI Center through the same Orchestrator instance.
  • RetryOnFailure - Automatically retries the machine learning model execution, to eliminate transient network errors. If checked, the activity retries the execution.
  • Timeout (milliseconds) - Specifies the amount of time (in milliseconds) to wait for a response from the server before an error is thrown. The default value is 100000 milliseconds (100 seconds).
    备注:

    When an endpoint is added, the dropdown button of the ML Skill option is disabled and the following message is displayed: "The activity works with either an Endpoint or an ML Skill, not both. Enter an Endpoint and leave ML Skill empty, or select an ML Skill and leave Endpoint empty".

使用机器学习分类器向导

  1. 在自动打开的“机器学习分类器”向导中,提供 ML 技能和 API 密钥信息。

    Figure 1. The ML Skill and ApiKey fields to configure for the Machine Learning Classifier

    要为机器学习分类器配置的“ML 技能”和“API 密钥”字段

    备注:

    机器学习分类器仅适用于机器学习分类器技能。使用任何其他技能(收据、发票等)将导致出错。

  2. Select Update activity arguments if you wish to also use the entered values as input arguments for the activity, more precisely for the ML Skill.

  3. Select Get Capabilities. The wizard closes after this operation

  4. Select Configure Extractors in the Data Extraction Scope. A wizard is displayed.

    Figure 2. The Configure Classifiers wizard

    “配置分类器”向导

  5. Match Document Type names used in Taxonomy to classification classes used by the ML Skill. The latter can be obtained very easily by using Get Capabilities either by configuring it when you first drop the activity or by selecting the gear icon and then simply selecting the class names from the dropdown list. Selecting one of the options from a dropdown list automatically confirms that field.

  6. Select Save once all fields are configured.

    重要提示:

    您不能为两个不同的字段选择相同的选项。

Document Understanding 集成

The Machine Learning Classifier activity is part of the Document Understanding Solutions. Visit the Document Understanding Guide for more information.

  • 描述
  • 项目兼容性
  • 配置
  • 使用机器学习分类器向导

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新