# Document Reading

Dhee.Ai allows the agent to learn from documents or passages. Provided with passage(s), the agent can use the knowledge acquired from them to reply to the queries of the user.

![](/files/IcliFI4ujiAnfujluvEj)

The passages can be added using the *KnowlegeManagement->Documents* section.

![](/files/K3Owz72JfwoodRX4f2YN)

You can add a new passage using the `+` Button.

![](/files/ffM3KyF8mqn7rZRg3MMH)

Passages can be auto-translated to other supported languages by enabling the *auto-translate* button.

> *The company provides flexible working hours to employees to ensure they maintain a healthy work-life balance. Employees can create their schedules and login based on their convenience*

> *In addition, the company provides all its employees 15 days of medical leaves and 12 days of casual leaves in a year.*

Agent deciphers useful knowledge from the passages and uses them for answering queries from the user. Consider the following passages.

With the learnings from the above passages, Agent can answer queries from the User regarding work-life balance and leaves.

![](/files/AZv7rQlOBuXqSH9x0lrn)


---

# 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://readme.dhee.ai/platform-reference/knowledge-management/document-reading.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.
