> For the complete documentation index, see [llms.txt](https://docs.wonderchat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wonderchat.io/setup-guides/setting-up-your-chatbot/how-to-pick-between-source-citations-options-for-your-chatbot.md).

# Source Citations Options

Every Wonderchat bot is equipped with the ability to cite sources. Let’s take a deep dive onto what type of source citation methods would benefit your chatbot the most.

## How to turn on or off source citations for chat responses

To turn on the source citation setting, navigate to the Edit Chatbot page and under the "General" tab, navigate to the "Citation Settings".

<figure><img src="/files/12lzJIzSPH9qGTUzUSBU" alt=""><figcaption><p>Click on the “⋮” and go to “Edit Chatbot”</p></figcaption></figure>

<figure><img src="/files/BvxuXClw4nh0V9U0MbAV" alt=""><figcaption><p>Go under "General" tab and scroll down</p></figcaption></figure>

<figure><img src="/files/j9GTti1tEimCxmsGBT78" alt=""><figcaption><p>Under the source citation settings, you can edit all information related to the chatbot's sources</p></figcaption></figure>

Ensure that the "Cite URL sources when answering" setting is checked for a chatbot to be able to cite a source for every response it gives out.

## **Source Citation Types**

### **1. Cite Similar Sources**

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

The ‘cite similar sources’ setting is **most suitable for chatbots that are built on** **website links**.

This setting allows your chatbot to display a ‘read more’ section below, which would link to webpages that serve as the sources of truths for the chatbot’s responses.

If you find that the existing chatbot’s response does not include a page link that you want, you can add the page link as a correction here.

### **2. Cite most appropriate sources (Deprecated)**

This source citation is recommended if you want your chatbot to respond with the raw link of a source.

It is highly recommended that you **use this setting in combination with a GPT-4 model** to prevent link hallucinations where a chatbot would recommend a wrong link.

### **3. Cite from PDF source**

<figure><img src="/files/g10gjG9hsv4ndhg32Bx0" alt=""><figcaption><p>To cite PDF pages as sources, toggle the PDF source citation settings.</p></figcaption></figure>

It is recommended that this option is **turned off** unless you prefer your chatbot to cite the exact PDF source name and page where it fetches the information from.

As you can see in the image above, enabling PDF source citations is only useful when you wish for the bot to pinpoint exactly which part of a PDF document they have obtained their information from.

***

If you have any more questions, feel free to reach out to us at <mark style="color:purple;">**<support@wonderchat.io>**</mark>
