# Overriding the project entity type configuration

By default, each file in a project uses the [project-wide settings for Textual entity types](/textual/guided-redaction/redaction-project-create-manage/enabling-and-disabling-entity-types-and-values.md). The entity type settings include:

* Whether each entity type is enabled. You can enable or disable both built-in and regex-based custom entity types. You cannot enable model-based custom entity types. When you disable an entity type, values of that type are ignored by the Textual scan.
* For each built-in entity type, added and excluded values.

Within a file, you can override the project settings. When you save the new settings, Textual automatically rescans the file to change the detected entities based on the new settings.

## **Displaying the file-specific entity type settings**

To display the file-specific entity type settings, either:

* On the details panel for a redaction, click the settings icon.
* In the file header, click **More**, then click **File-specific entity detection settings**.

## **Enabling and disabling entity types**

To enable an entity type, set the entity type toggle to the on position.

To disable an entity type, set the toggle to the off position.

## **Adding and excluding values for a built-in entity type**

To display the panel to add and exclude values, click the add or exclude values icon.

On the panel:

* Use the **Add to detection** tab to add values.
* Use the **Remove from detection** tab to remove values.

Each value can be either a specific word or phrase to add or exclude, or a regular expression to identify the values to add or exclude. Regular expressions must be C# compatible.

## **Saving and updating the detection based on the changes**

When you finish the configuration changes, click **Save**.

Textual rescans the file and changes the detected entities based on the new settings.

For example, the initial scan detected a Given Name value. You change the file-specific settings to disable the Given Name entity type. After the new scan, the value is no longer highlighted.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonic.ai/textual/guided-redaction/redaction-project-file-process/redaction-project-file-entity-type-config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
