# 文書DB入門

## 文書登録とは

現在開いているプロジェクトに、ファイルを登録するための操作です。

**自動解析機能により、全文テキスト・タイトル・日付･証拠番号まで認識することができます。** \
※PDFの場合。

画面上にドラッグアンドドロップするだけでOKです。

{% hint style="success" %}
**初心者向けのガイドブックを準備しました！**　\
読みやすいPDFファイルです。是非ご利用ください。

[**入門ガイド「使ってみよう弁護革命」**](https://www.bengo-kakumei.jp/files/bengo-kakumei-first-guide.pdf)
{% endhint %}

## 基本的な登録方法は？

![](/files/-MZ1Xi8qXC6PdefNEnJ8)

動画をご覧ください。

文書DB画面にファイルをドラッグアンドドロップすると登録できます。最初はPDFファイルがおすすめです。&#x20;

このサンプルではスキャンしたばかりで、ファイル名も変更していないＰＤＦファイルを使っています。 \
**自動認識機能により、タイトル・作成日などが解析されて登録される**のが分かります。

「手直しモードへ」をクリックすると、修正に便利な画面があらわれます。今回は手直しをせずに、すぐに「とじる」をクリックしています。

**全文OCRも同時に完了しています。**

## どんなファイルが登録できる？

登録可能なファイルに制限はありません。どんな拡張子のファイルでも登録できます。 また、プレビューエリア左の「ファイル編集」から実行すると、どんなファイルでも実行できます。

詳細はこちらを確認してください。

{% content-ref url="/pages/-MWDONX8r1eduL3aYSdC" %}
[文書を登録する](/guide/document-db/register.md)
{% endcontent-ref %}

## 文書を検索する

![](/files/-MZ1fyev_Ro0HBi5Ih9W)

画面上部の検索ボックスと、その下の文書符号ボタンから操作が可能です。 キーワードと文書符号を組み合わせることも可能です。

{% content-ref url="/pages/-MWDOQtW0D2HhFXrghly" %}
[文書を検索する](/guide/document-db/search.md)
{% endcontent-ref %}

## 文書情報を編集する

![](/files/-MZ5iY9krhAGZXY_3U6Q)

文書情報の欄をダブルクリックすると、編集が可能になります。エンターキーで確定できます。

{% content-ref url="/pages/-MWEutT0\_0bj5FhvVhm9" %}
[文書を編集する（書誌情報）](/guide/document-db/edit.md)
{% endcontent-ref %}


---

# 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.bengo-kakumei.jp/guide/tutorial/document-db.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.
