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

Document Understanding 活动

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

可训练的分类器异步代码活动类

TrainableClassifierAsyncCodeActivity类构造一个AsyncCodeActivity用于提取程序训练。

定义

  • 命名空间: UiPath.DocumentProcessing.Contracts.Training
  • 程序集: UiPath.DocumentProcessing.Contracts

描述

实现 UiPath.DocumentProcessing.Contracts.Training.ITrainableClassifierActivity 接口和 System.Activities.AsyncCodeActivity 抽象类的抽象类。

This class should be implemented in order to construct an AsyncCodeActivity for extractors training, compatible with the Train Classifiers Scope activity and the document processing infrastructure.

分类器活动中的训练参数

All InArguments are auto-populated by the Train Classifiers Scope activity for all sub-activities. InArguments include the following information:

  • 有关已分类文档的信息,尤其是原始文件路径、文本版本和文档对象模型。
  • Details about each field that requires training, expected to be processed by the training activities. These types are defined by the Train Classifiers Scope activity in the Configure Training wizard.

此活动没有任何 Out 参数。

成员

构造函数

TrainableClassifierAsyncCodeActivity() - 受保护的默认构造函数。

方法
  • GetCapabilities() - 在设计时获取分类器能够分类的文档类型的列表。 此方法仅在设计时调用,因此不应使用任何 InArgument。
  • ProvidesCapabilities() - 如果分类器能够提供功能列表,则返回 true。
属性
  • DocumentPath InArgument<string> - The file path of the document.
  • DocumentText InArgument<string> - The text version of the document.
  • DocumentObjectModel InArgument<UiPath.DocumentProcessing.Contracts.Dom.Document> - The document object model of the document.
  • HumanValidatedData InArgument<UiPath.DocumentProcessing.Contracts.Results.ExtractionResult[]> - The extraction results for the processed document, that you want to use for training.
  • PersistenceId <string> - The unique, opaque ID that is used by the scope activities in order to correctly track and configure the training activity.
  • PredictionId InArgument<string> - Identifies that the same document is processed in a workflow. It's composed of DocumentId and JobId.
  • 定义
  • 描述
  • 分类器活动中的训练参数
  • 成员

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新