> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/english/skyone-studio/artificial-intelligence/voxone/using-rag-in-voxone.md).

# Using RAG in VoxOne

**RAG (Retrieval-Augmented Generation)** is a feature that allows the agent to respond using documents or URLs you upload as its reference.

This means that when you upload a PDF, TXT, DOC, or add a link, Vox One reads that content and uses it as the basis for responses.

Vox One includes a dedicated **RAG** tab where you can create, manage, and test your own RAGs.

### **How to access**

1. Access **Vox One**. At the top of the screen, click the **“RAG”** tab.

<figure><img src="/files/6BT5CKA9lh0dkIxNwCeL" alt=""><figcaption></figcaption></figure>

2. Create a New RAG

* Click **“New RAG.”**
* Give it a name (e.g., *TestRAG*).
* Click "**Save**.

<figure><img src="/files/YpJ31Oc8XbneAndIQnXh" alt=""><figcaption></figcaption></figure>

3. Upload Content to the RAG.&#x20;

Once created, the newly created RAG will be available to receive the content.&#x20;

To upload the content, click on "**Customize**" next to your RAG.

On the Main Settings screen, click "**Add resource**".&#x20;

On “**Configure resources**” modal, add the **Name** and **Description** (optional).

You can add the resources in two ways:

a) **Web**

* Click "**Add URL".**&#x20;
* Paste the link to the documentation or website you want to use.
* After paste URL, click "**Save resource**".&#x20;

<figure><img src="/files/qyAKyZ6TrDJQbF6Ata54" alt=""><figcaption></figcaption></figure>

b) **Document**

* Upload a PDF, TXT, DOC, or similar file.

<figure><img src="/files/xuG2jnURwq5yVmOH14NG" alt=""><figcaption></figcaption></figure>

After upload, click "**Save resource**".&#x20;

The main configuration screen will display again, this time with the added resource. Click "**Update RAG**" to finish.&#x20;

<figure><img src="/files/cJN0iEKAGsLagPp5Hitz" alt=""><figcaption></figcaption></figure>

4\. Test the RAG

* Inside the RAG you created, enter a keyword.
* Click "**Test"**.
* If everything is correct, the response will be based on the uploaded content.

<figure><img src="/files/mKeZjjsdy7Sefrllnkh7" alt=""><figcaption></figcaption></figure>

5\. Link the RAG to an Agent

* Go to the **Agents** section.
* Create a new agent or edit an existing one.
* Select the model (e.g., *Ultravox*).
* In the **Manage your RAG** field, choose the RAG you created.
* Click "**Save**".

<figure><img src="/files/zGN1DmdtnjFJoFsHcKsm" alt=""><figcaption></figcaption></figure>

6\. Test the agent with the RAG

* Run a test or simulate a conversation.
* The agent should respond based on the content you added to the RAG.

***

### **Glossary**

| Terms                                    | Description                                                                                     |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------- |
| **RAG (Retrieval-Augmented Generation)** | A feature that allows the agent to consult documents or URLs to respond using real information. |
| **URL**                                  | A link to a webpage that contains the content you want to use.                                  |
| **Agent**                                | The intelligent assistant that responds to users inside Vox One.                                |

***

### **FAQ**

<details>

<summary> <strong>Can I upload more than one file to the same RAG?</strong></summary>

Yes. You can upload multiple documents or URLs.

</details>

<details>

<summary><strong>Will the agent respond only using the RAG?</strong></summary>

No. It uses the RAG as a reference but still combines the content with the AI model.

</details>

<details>

<summary><strong>Can I edit a RAG after it has been created?</strong></summary>

Yes, you can add new files or remove old documents.

</details>

<details>

<summary><strong>What should I do if the test doesn’t return the expected response?</strong></summary>

Check whether the document was uploaded correctly and whether the keyword exists within the content.

</details>


---

# 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.skyone.cloud/english/skyone-studio/artificial-intelligence/voxone/using-rag-in-voxone.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.
