# Training on Custom Instructions and Q\&As

By adding raw text as a data source, you can directly paste FAQs, internal notes, policies, product descriptions, or any other written content into Wonderchat.

This gives your chatbot immediate access to custom knowledge, without needing a URL or file upload, and lets you keep answers accurate and fully tailored to your business.<br>

***

### STEP 1 — Go to your Chatbot’s “Data Sources” Panel

* Log in to your account open your wonderchat chatbot page.
* Select the bot you want to edit, and click edit.

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

### Step 2 — Select “Add Raw Text” Option

* Click on “Data Source”
* Choose “FAQ”
*

```
<figure><img src="../../.gitbook/assets/image (3).png" alt=""><figcaption></figcaption></figure>
```

### Step 3 — Upload Your Text Content

* Click on "Add" and text area will pop up.
* In the text area provided, paste or write your raw text content.

  This can include:\
  FAQs, knowledge-base articles, guidelines, Product descriptions, policies, internal documentation\
  Markdown / plain-text copy, etc.
* NOTE: Add Q (for questions) and A (for answers)
* When you are done click on "Add text"

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

### Step 4 — Test the Chatbot

* After adding your raw text, ask a few sample questions relevant to that text to ensure the bot returns correct answers.
* If something seems off, you can edit the source, refine the text, or add more context.

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


---

# 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://docs.wonderchat.io/setup-guides/training-your-chatbot/training-on-custom-instructions-and-q-and-as.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.
