# IClassifierActivity Interface

> IClassifierActivity outlines all instances of InArgument and OutArgument expected from a classifier activity.

IClassifierActivity outlines all instances of InArgument and OutArgument expected from a classifier activity.

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Classification`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

A public interface which inherits the `IPersistedActivity` interface. Defines all instances of the `InArgument` and the `OutArgument` expected from a classifier activity.

This interface must not be implemented directly. When building a classifier activity, use one of the provided abstract classes: `ClassifierCodeActivity`, `ClassifierNativeActivity`, or `ClassifierAsyncCodeActivity`.

## Members

#### Properties

* `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.
* `DocumentTypes` `InArgument<UiPath.DocumentProcessing.Contracts.Classification.ClassifierDocumentType[]>` - The document type information that you want the classifier to consider.
* `ClassifierResult` `OutArgument<UiPath.DocumentProcessing.Contracts.Classification.ClassifierResult>` - The output of the classifier activity.
