> ## Documentation Index
> Fetch the complete documentation index at: https://labs.laer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Define the data source

You can narrow the focus of a prompt by defining the data source, including the relevant collections. You can also filter the data to further refine the data source. Refining the scope of the data helps Ask AI retrieve more precise context and improves the relevance of responses, especially in large document sets.

To define sources in a conversation:

1. At the bottom of the Chat page, in the prompt box, select **Sources** ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAbCAMAAADMMLbsAAAAAXNSR0IArs4c6QAAAKtQTFRFk6/OjqvMkq7Oka3NkK3Nj6zMlrHQmrTRmbPRnLbSj6zNnLXSnbbTo7vWpLvWoLjUt8rft8nessbctsnetcjeuMrfq8HZucvfucvguszgu8zgvc7hztrpzdrowNDix9XmwdHjxdTlw9Pkz9vpzNno097r3OXv3ebw3+fx/v7/7/P4+/z96/D26O716e/16O70+vv94uny/P3+8vX58fX58/b58/b68PT4////sTdHAAAAAAlwSFlzAAASdAAAEnQB3mYfeAAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAADGSURBVDhPxdPZDoIwEAVQroCIKC647ytKEXFB7f9/mYk0AoVJeKOvczK9aW4VXuYoZRCvWLmTtmJPT/moqVxeF/GZ5VhK9VBbMJ8tVaxklqgztMtvGui4SixRfazFbIM5qeqIV3EeokMqDb6Y3aCSyvinCdAglYOtmO0wINUdahws1BGQig9R27MHO2hw6PfiniPefgTzmXWZ5rhju6nbR26hlWWF/YoMmK/0tuIWyozoqsSoRkeG9U7uJHv/SQer+HeQP/gLpBTIVH1xn1QAAAAASUVORK5CYII=).
2. In the **Sources** window, in the Select collections dropdown, choose one or more collections to include. By default, all collections are included.
3. Perform the following steps to filter the data as needed.
   1. Under **Search Filters**, select **Add filter**.
   2. In the new filter field, select **Edit** ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAbCAMAAADF2xaWAAAAAXNSR0IArs4c6QAAAGNQTFRFES9aIT1lIz9nPVV4Nk90M0xxOFF1NE5yMEpvLUduJUFpLkhuKENrKURrR1+AX3ORZnqWeImihJSrgpGohJOq193l0dfg1drj1tzk3OHn+Pn75ejt6Ovw5Ojt5unu5Ofs4OTq/FdmMgAAAAlwSFlzAAASdAAAEnQB3mYfeAAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAAB3SURBVDhP3dJHEoAwCAVQ7L33RI33P6WMCxU0Zm/WLzDwAWF6YALi90I69bWE12kLgOYkL2JuFxe8D7H6UMq80wv8D1DdsuBdVIDA6vVChQjsO2DJbQcYSN6kyxYhiCmgNRIE6cguhtRAkE38pJiIHuD/N0ZWsgNUhlZHq7pH3QAAAABJRU5ErkJggg==).
   3. Use the **Field** and **Operator** dropdowns to define your filter criteria.                                               **Note:** Available fields are specific to your selected project.
4. To save the data source, select **Save**.                                                                                                            **Note:** The **Sources** icon ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAfCAMAAABXofT6AAAAAXNSR0IArs4c6QAAARRQTFRFBH//BYD/DYT/FYj/Foj/FIf/CIH/D4X/CYL/E4f/DoT/Hoz/BoD/P53/MJb/LJT/PJz/Io7/OZr/OJr/L5X/JZD/NJj/K5P/KZL/QJ7/Vqn/VKj/WKr/TKT/RaD/TaT/T6X/SaL/Ya7/f77/e7z/cLb/dbn/d7r/Yq//bLT/arP/gb//ns3/icP/kMb/mMr/msv/kcf/isP/lsn/ksf/l8r/otD/u9z/tdn/stj/o9D/pNH/pdH/qNP/s9j/sdf/wN//zOX/2Ov/xOH/zeX/1en/3+7/yuT/3O3/2uz/xeH/9vr/+/3//P3/4O//+fz/8/n/7fb//f7/4fD/5fL/4vD/+Pv//v7/7/f/6fT/8fj/////5dLyKQAAAAlwSFlzAAASdAAAEnQB3mYfeAAAABl0RVh0U29mdHdhcmUATWljcm9zb2Z0IE9mZmljZX/tNXEAAAELSURBVDhPxdNXU0IxEIbhN2LBjr03RCyoeOwFpVhpil3I//8fwnjmJNEEudLcfs9sdrJZZCuHVpD8f1XM5ko/WzX6Km/2C2ibvvzudHU/gH+iD6bT1FUIBg8zma12iFQMptRjB2w/NcLKDMw61DIk/ag8B9c6U7WGGA6C505iVnUDOyqYZ8SqbuFIBSuErCoLxyqI02VVL+CpYIFRe/djjAfBa5hVu9qFPe0l7uzqbQL23xvZxyKsOV5V5rvrE4onEtH6EFg/sdeSMjfpD7vH20Ccasz4OaWDCPQuxaryDIO5/r0HfamgmnM7kkJj7h1KaazJpp0LxMXXpc32MR2eqv2uZKHo9//3u/0JWCBop5S1hywAAAAASUVORK5CYII=) turns blue when sources are defined for the conversation.
5. Enter your prompt in the prompt box and press **Enter**.

**Result:** A project collection label appears below your prompt, indicating that you have defined sources for the conversation. Select the label to view any applied filters.
