> 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

How to pick between chatbot source citations.

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 **"Model & Behavior"** tab (in the **Agent** group), go to the **"Answers"** section where the cite-sources settings live.

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-5ad8e812d6fd3e9a8954b472517b204364340759%2Fimage.png?alt=media" alt=""><figcaption><p>Click on the “⋮” and go to “Edit Chatbot”</p></figcaption></figure>

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-7f5c56a73dbfab6148e5aa22a5a478b74ab250f2%2Fmodel-behavior-answers-citations.png?alt=media" alt=""><figcaption><p>The cite-sources settings live in the "Answers" section of the "Model &#x26; Behavior" tab</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. Always Cite Relevant Sources**

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-7f5c56a73dbfab6148e5aa22a5a478b74ab250f2%2Fmodel-behavior-answers-citations.png?alt=media" alt=""><figcaption></figcaption></figure>

The **'Citation style'** setting under **Cite sources** lets you choose how your chatbot selects and displays sources — this option ("Always cite relevant sources") 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 truth 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 Only When Appropriate**

This source citation style is recommended if you want your chatbot to respond with the raw link of a source, embedded directly in its answer rather than in a separate 'read more' section.

It is more efficient (no extra API call) but can occasionally over-cite. If you notice link hallucinations — where the chatbot recommends the wrong link — switching to a stronger model (e.g. GPT-5.6 Sol or Claude Sonnet 5) will reduce this risk.

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

<figure><img src="https://3760420285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0WUvfmkdMPXz3x7NXP8i%2Fuploads%2Fgit-blob-7f5c56a73dbfab6148e5aa22a5a478b74ab250f2%2Fmodel-behavior-answers-citations.png?alt=media" alt=""><figcaption><p>Toggle "Cite PDF pages" under the cite-sources cluster.</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>
