> For the complete documentation index, see [llms.txt](https://docs.botdistrikt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.botdistrikt.com/features/responses/documents.md).

# Documents

Sending documents as responses in an AI chatbot offers several advantages to end users. Documents allow chatbots to provide in-depth and comprehensive information on a wide range of topics. Users can access detailed guides, reports, manuals, and more, ensuring they have access to all the necessary details. It enables the presentation of information in a structured format, making it easier for users to navigate and find specific details. Moreover, documents include visual elements such as images, charts, diagrams, and tables, enhancing the understanding of complex information and data.

Users can then easily print documents for reference or documentation purposes, making it convenient for tasks that require physical copies and compliance.  Chatbots in e-commerce or tech support can provide user manuals, product guides, and troubleshooting documents to help users understand and use products effectively, for educational purposes, or corporate training.&#x20;

It can be used as a versatile tool for disseminating information, assisting with tasks, and enhancing the overall user experience.

To set up documents as responses, navigate to **Responses** and select **Documents.**

<figure><img src="/files/kZKP64XuFOvHdYSItNph" alt=""><figcaption><p>Navigate to Responses --> Documents</p></figcaption></figure>

Under the Documents tab on the Response page, you will be able to:

* Add new documents
* Tag documents
* Delete documents

To add new documents click on **New Document**

<figure><img src="/files/GPw5shHmz7VpNURDO41X" alt=""><figcaption><p>Add New Document</p></figcaption></figure>

<figure><img src="/files/cxjqsKeRRDL23tkAmJQn" alt=""><figcaption><p>Add New Document</p></figcaption></figure>

In the **Documents** tab:

1. Upload the document from your local drive or drop a document in the box.
2. Enter a title for your document.
3. Select tags or add new tags. **New Tag** redirects you to [**Tags**](/features/settings/tags.md)**.**
4. Click **Save.**


---

# 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.botdistrikt.com/features/responses/documents.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.
