> For the complete documentation index, see [llms.txt](https://docs.getyolo.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getyolo.ai/en/kezdetek/question-asking-based-on-textbook-upload.md).

# Question asking based on textbook upload

This feature allows you to <mark style="color:purple;">**upload textbooks or notes stored on your device**</mark> <mark style="color:purple;">**to the YoloAI system**</mark>, enabling the AI to generate answers based on these documents. Below, we explain how this function works:

### 1. Textbook Upload:&#x20;

The user can <mark style="color:purple;">**upload a document-based textbook or notes**</mark>, such as in **.doc** or **.pdf** format. This can be a school textbook, personal notes, or any relevant study material.

<figure><img src="/files/nLQ2VeU7eB3urfvsIHOJ" alt="" width="375"><figcaption><p>Tankönyveim</p></figcaption></figure>

### 2. Asking Questions:

After uploading, <mark style="color:purple;">**you can ask any question in the chat window related to the content of the uploaded book**</mark>. The AI <mark style="color:purple;">**generates responses based on the document’s text**</mark>, ensuring accurate and relevant information.

<figure><img src="/files/bALAthcKCRwanlHVdQwI" alt="" width="375"><figcaption><p>Kiválasztott tankönyvvel (jobb felső sarok)</p></figcaption></figure>

### 3. Using Multiple Textbooks:

You have the option to <mark style="color:purple;">**add multiple books to a single conversation**</mark>. In this case, the AI considers <mark style="color:purple;">**the content of all uploaded textbooks and formulates its responses accordingly**</mark>. This is especially useful if you want to compare or supplement information from multiple sources.

<figure><img src="/files/1eBVnhaRDZXYcIdPJhgY" alt="" width="375"><figcaption><p>Feladat generálás a tankönyvből</p></figcaption></figure>

### 4. Flexibility and Accuracy:

The AI can <mark style="color:purple;">**extract information from any section**</mark> of the uploaded book, whether it’s definitions, explanations, or understanding relationships. This feature is ideal for school preparation, research, or any learning activity.

{% hint style="info" %}
The AI first responds in the language in which the question was asked, ensuring that you receive an answer in the most understandable form for you.

Additionally, the AI can respond in any language upon request and is capable of processing textbooks written in nearly all languages worldwide.

This feature is extremely useful in multilingual environments, whether for language learning or integrating study materials in different languages.
{% endhint %}

#### Example:

If you upload a history textbook, <mark style="color:purple;">**you can request an explanation of a specific event or era, and the AI will generate a response based on the book's content.**</mark> This ensures that the answer is precisely aligned with the study material.<br>

This feature provides maximum flexibility, ensuring that learning is as effective as possible, tailored to your needs.


---

# 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.getyolo.ai/en/kezdetek/question-asking-based-on-textbook-upload.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.
