> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/database.md).

# データベース

- [Text to SQL 機能](https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/database/text2sql.md): 本ページでは、MaiAgent システムで Text to SQL 機能を使用し、日常会話でデータベース内の情報を手軽に照会する方法をご紹介します
- [データベースの作成と設定](https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/database/create-database.md): 本ページでは、MaiAgent でデータベースを作成・設定する方法（ファイルをアップロードしてデータテーブルを作成する方法、外部データベースへの接続、列の説明設定など）について説明します
- [MaiAgent データベースで Text to SQL を実行する](https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/database/text-to-sql-maiagent.md): 本記事では、Excel や CSV などの表計算ファイルを MaiAgent データベースにアップロードし、AI アシスタントが自然言語でデータを照会・分析できるようにする方法をご紹介します
- [AI アシスタントとグループ権限の関連付け](https://docs.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/database/link-chatbots-groups.md): 本ページでは、データベースをAIアシスタントに関連付ける方法と、グループ権限を通じてデータベースへのアクセス範囲を制御する方法について説明します


---

# 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.maiagent.ai/maiagent-user-guide/maiagent-user-guide-ja/database.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.
