> 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/zui-zhong-yong-hu-yu-he-zuo-huo-ban/end-user-section/purpose-and-use.md).

# 用途与使用方法

## 概述：

DocBits 中的验证界面用于在文档处理或保存之前，验证文档所含数据的准确性和完整性。此功能对于确保所有数据都被正确读取和处理至关重要，有助于维护数据的完整性和质量。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-c8b54f0de459b7c1d3b58526460712883c18e4f3%2Fnapkin-selection%20(1).svg?alt=media" alt=""><figcaption></figcaption></figure>

## 验证界面的用途与使用方法详述

### 验证界面的用途

* **确保数据质量**：验证界面会检查提取数据的准确性和完整性，以防止录入错误或不完整的信息。
* **数据完整性**：确保数据符合指定的要求和标准。
* **预防错误**：通过帮助及早发现并纠正错误，验证界面有助于减少后续数据处理过程中可能出现的问题。
* **易于使用**：系统会在检测到错误或不一致时立即向用户提供反馈，以便及时更正。
* **合规性**：验证界面有助于确保遵守法律和组织相关的规定与标准。
* **提高效率**：减少后续更正所需的工作，并尽量减少人工检查的需要。

### 使用验证界面

* **自动提取数据**：
  * **光学字符识别 (OCR)**：自动读取扫描文档或图像中的文本。
  * **结构化和非结构化数据**：处理各种文档类型中的数据，包括表单、发票和合同。
* **检查和验证数据**：
  * **格式验证**：确保数据格式正确（例如日期格式、电话号码和电子邮件地址）。
  * **必填字段**：确认所有必填字段均已填写。
  * **范围检查**：验证数值数据是否在指定范围内。
  * **一致性检查**：验证相关数据字段中的信息是否一致（例如，确保开始日期和结束日期相符）。
* **用户交互与故障排查**：
  * **错误消息**：当数据不符合验证要求时，显示清晰且可采取相应操作的错误消息。
  * **人工审核与更正**：当自动验证失败时，允许用户人工审核并修改数据。
* **数据清理与标准化**：
  * **自动更正**：检测到错误时，建议或执行自动更正。
  * **数据格式化**：统一数据格式，确保不同数据集之间的一致性。
* **安全与访问权限**：
  * **输入筛选器**：通过可靠的验证和筛选机制防范恶意输入。
  * **访问控制**：确保只有授权用户才能访问和修改敏感数据。
* **数据一致性**：
  * **交叉验证**：检查相关数据字段之间的一致性（例如，验证开始日期和结束日期是否相符）。
  * **重复条目**：防止数据库中出现重复条目。
* **用户指引**：
  * **错误消息**：当输入内容不符合要求时，提供具体且易于理解的错误消息。
  * **帮助与提示**：提供帮助文本或工具提示，协助用户正确输入数据。

总之，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/zui-zhong-yong-hu-yu-he-zuo-huo-ban/end-user-section/purpose-and-use.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.
