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

Document Understanding 活动

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

可训练的提取程序原生活动类

TrainableExtractorNativeActivity是实现UiPath.DocumentProcessing.Contracts.Training.ITrainableExtractorActivity接口和System.Activities.NativeActivity抽象类的抽象类。

定义

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

描述

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

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

数据提取活动训练

The Train Extractors Scope activity auto-populates all defined InArguments for its child activities. These InArguments include the following information:

  • 有关数据提取中使用的文档的详细信息,包括其原始文件路径、文本版本和文档对象模型。
  • Data about each field requiring training, which is expected to be understood and processed by the training activities. These types are configured in the Configure Training wizard via the Train Extractors Scope activity.

此活动不包含任何 OutArguments。

成员

构造函数

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

方法
  • GetCapabilities() - 获取提取程序在设计时能够为每种文档类型提取的字段列表。 此方法仅在设计时调用,因此不应使用任何 InArgument
  • ProvidesCapabilities() - 如果提取程序能够提供功能列表,则返回 true。
属性
  • DocumentPath InArgument<string> - 文档的文件路径。
  • DocumentText InArgument<string> - 文档的文本版本。
  • DocumentObjectModel InArgument<UiPath.DocumentProcessing.Contracts.Dom.Document> - 文档的文档对象模型。
  • HumanValidatedData InArgument<UiPath.DocumentProcessing.Contracts.Results.ExtractionResult[]> - 要用于训练的已处理文档的提取结果。
  • PersistenceId <string> - 作用域活动为正确跟踪和配置训练活动而使用的唯一不透明 ID。
  • 定义
  • 描述
  • 数据提取活动训练
  • 成员

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新