> For the complete documentation index, see [llms.txt](https://docs.bengo-kakumei.jp/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bengo-kakumei.jp/guide/document-db/register/ai-pdf-split.md).

# AIで分割して登録

複数の文書（例: 複数の証拠書類）が1つにまとめられたPDFファイルを、**AIが文書の切れ目を自動判定し、文書単位に分割して登録**できる機能です。

スキャナで複数の証拠をまとめて取り込んだ場合などに、手作業での分割が不要になり、登録作業を大幅に省力化できます。

{% hint style="warning" %}
本機能はAIを利用するため、**AI利用量を消費します**。利用上限の詳細は [利用上限について](/guide/ai/limitation.md) をご覧ください。
{% endhint %}

## 起動方法

文書DB画面のファイル登録メニューから「**AIで分割して登録**」を選択します。

![](/files/nf08KzDTGanhIRVBXmgC)

## AI解析による自動分割

PDFを選択すると、AIが各ページを解析し、証拠番号や文書のタイトル等を手がかりに**文書の切れ目を自動判定**します。解析が完了すると、分割結果のプレビュー画面が表示されます。

![](/files/bYSg4vPRhuijkuNPbnqE)

* **左サイドバー**: 分割後の各ファイル（ファイル名・ページ範囲・ページ数）
* **中央エリア**: 元PDFの全ページサムネイル。分割点には区切り線が表示されます

画面上部には全体のファイル数とページ数が表示されます（例: `14ファイル / 87ページ`）。

### 表示の調整

プレビュー画面右上のコントロールで、ページサムネイルの表示を調整できます。

* :white\_check\_mark: **右上を拡大** — チェックを入れると、各ページの**右上部分を拡大表示**します。証拠番号のスタンプを確認しながら分割点を調整したい場合に便利です。
* **表示倍率（%）** — `-` / `+` ボタンでサムネイルの表示倍率を変更できます（初期値: 40%）。

## 手動で分割点を調整する

AIの判定結果は手動で修正できます。

### 分割点を追加する

ページ間にカーソルを合わせると「**この頁を先頭に分割**」ボタンが表示されます。クリックすると、そのページを先頭とする新しい文書として分割されます。

### 分割点を削除する（前のPDFに結合する）

分割の先頭ページをクリックすると、ページ上部に「**前のPDFにつなげる**」ボタンが表示されます。クリックすると、そのページが前のファイルに結合されます。

## ページ単位の操作

各ページにカーソルを合わせると、右側にアイコンが表示されます。

* :arrows\_counterclockwise: **回転** — ページを回転させます（スキャン時の向きがおかしい場合などに使用）。
* :wastebasket: **削除** — そのページを分割結果から除外します（不要な白紙ページや表紙などを取り除く場合に使用）。

## ファイル名を編集する

各ファイルのファイル名は、プレビュー画面上部の入力欄から自由に編集できます。拡張子（`.pdf`）は自動で付与されます。

## 登録を確定する

内容に問題がなければ、右上の「**確定して登録する**」をクリックします。分割された各ファイルが個別の文書として文書DBに登録されます。

途中でやめたい場合は「**キャンセル**」をクリックしてください。

{% hint style="info" %}
分割後の各PDFには、通常の文書登録と同様に、書誌情報の自動認識・全文テキスト認識（OCR）が適用されます。詳しくは [PDFファイル登録の仕組み](/guide/document-db/register/pdf-register.md) をご覧ください。
{% endhint %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.bengo-kakumei.jp/guide/document-db/register/ai-pdf-split.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
