> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/customization-options.md).

# 自定义选项

## DocBits 中每种文档类型的自定义选项对于优化文档处理和数据提取至关重要。

### 以下详细介绍最重要的自定义选项及其对文档处理和数据提取的影响：

1. **布局配置说明：**

布局配置决定文档类型的结构和外观。

**选项：**

**模板：**

* 上传或创建用于定义总体布局的文档模板。

**区域：**

* 指定文档上的特定区域，例如页眉、页脚和内容区。

**影响：**

**提高准确性：**

* 准确定义布局后，系统可以更好地识别特定信息的位置，从而提高数据提取的准确性。

**一致性：**

* 确保同一类型的所有文档都采用一致的布局，使处理和审核更加容易。

2. **字段定义说明：**

字段是从文档中提取的特定数据点。

**选项：**

* 字段名称：字段的名称（例如“发票编号”、“日期”、“金额”）。
* 数据类型：字段中包含的数据类型（例如文本、数字、日期）。
* 格式：数据的格式（例如日期采用 DD/MM/YYYY 格式）。
* 必填字段：指明字段是否为必填项。

**影响：**

**数据提取准确性：**

* 精确定义字段后，便能准确提取正确的数据。

**减少错误：**

* 明确指定字段格式和数据类型，可以降低数据处理过程中出错的可能性。

**自动验证：**

* 必填字段和特定格式可实现对提取数据的自动验证。

3. **提取规则说明：**

用于确定如何从文档中提取数据的规则。

**选项：**

**正则表达式：**

* 使用正则表达式匹配模式。

**锚点：** .

* 使用特定文本锚点确定字段的位置。人工智能：使用基于模式识别和机器学习的 AI 模型提取数据

**影响：**

**精确性：**

* 应用特定的提取规则可以精确、可靠地提取数据。

**灵活性：**

* 可自定义的规则能够适应不同的文档布局和内容。

**效率：**

* 自动化提取规则可以减少人工工作量并加快数据处理速度。

4. **验证规则说明：**

用于检查提取数据的正确性和完整性的规则。

**选项：**

* \*\*格式检查：\*\*验证数据格式（例如日期格式是否正确）。
* \*\*值检查：\*\*检查提取的值是否在特定范围内。
* \*\*交叉检查：\*\*将提取的数据与其他数据源或文档中的数据字段进行比较。

**影响：**

**数据质量：**

* 确保只存储正确且完整的数据。

**错误预防：**

* 自动验证可降低人为错误的风险。

**合规性：**

* 通过准确的数据验证遵守法规和标准。

5. **自动化工作流说明：**

用于自动执行文档类型处理步骤的工作流。

**选项：**

**审批流程：**

* 自动转发文档以供审批。

**通知：**

* 在特定事件发生时自动发送通知（例如收到发票）。

**归档：**

* 根据特定规则自动归档文档。影响：

**提高效率：**

* 自动化工作流可加快处理速度并减少人工工作量。

**透明度：**

* 清晰且可追踪的流程能够提高文档处理的透明度和可追溯性。

**合规性：**

自动化工作流可确保所有步骤均按照内部准则和法律法规执行。

6. **用户权限和访问控制说明：**

控制对文档类型及其字段的访问。

**选项：**

**基于角色的访问控制：**

* 指定哪些用户或用户组可以访问特定文档类型。

**安全级别：**

* 为文档类型和字段分配安全级别。

**影响：**

**数据安全：**

* 通过限制访问来保护敏感数据。

**合规性：**

* 通过有针对性的访问控制遵守数据保护法规。

**易用性：**

* 根据角色和授权调整用户界面，可提高易用性。

DocBits 为文档类型提供丰富的自定义选项，从而能够精确控制文档处理和数据提取。通过仔细配置布局、字段、提取规则和验证规则、自动化工作流以及用户权限，组织可以确保文档得到高效、准确且安全的处理。这些自定义选项对于优化文档管理系统的整体性能、满足组织的具体需求具有重要作用。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/customization-options.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
