# Annotate File

> `UiPath.ExpertSystem.Activities.AnnotateFile`

`UiPath.ExpertSystem.Activities.AnnotateFile`

Annotates a specified file input and returns the relevant tags.

## Properties

### Common

* **DisplayName** - The display name of the activity.

### Credentials

* **Password** - Password for the instance of Expert System Cogito API service.
* **ServiceEndpoint** - The endpoint of the instance of Expert System Cogito API service.
* **Username** - Username for the instance of Expert System Cogito API service.

### Input

* **AnnotationPlan** - The annotation plan for the activity. The annotation plan needs to be defined in the Expert System Cogito Application. The annotation plan specifies the format of the output.
* **Input** - The path to a PDF input file.
* **ResponseType** - If Json is selected, the *FullResponse
* field will be a Json String. If XML is selected the *FullResponse
* field will be an XML String.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **FullResponse** - The full result of the analysis. This can be processed further using the [Web Activities](https://activities.uipath.com/docs/about-the-web-activities-pack) package.
* **Results** - The result returned as a custom ExpertSystemResponse class. Each descriptor will contain the following fields:
* FieldLabel - The label assigned to the detected field.
* FieldName - The Value for the detected field.
* Template - The name of the template for the given field.
