# Chat All — Library Search

## What is Chat All?

The **Chat** tab searches across **all your uploaded files** at once. Instead of opening one file at a time, you can ask a question and Knowbase finds the answer from whichever files are most relevant.

## How to use it

1. Click the **Chat** tab in the top navigation
2. Type your question
3. Knowbase searches your entire library and returns an answer with citations from multiple files

## Narrowing the search

You can control what gets searched:

* **Drop files** into the chat input to search only those specific files
* **Toggle Library** on/off using the library icon in the input bar
* The **context label** above the input shows what's currently being searched

{% hint style="info" %}
**Example:** Drop two quarterly reports into the chat, then ask "Compare Q1 and Q2 performance." Knowbase will only search those two files.
{% endhint %}

## Chat All vs File Chat

| Feature          | Chat All               | File Chat              |
| ---------------- | ---------------------- | ---------------------- |
| Searches         | Entire library         | Single file            |
| Opens from       | Chat tab               | Library > click file   |
| Best for         | Cross-document queries | Deep-dive into one doc |
| File attachments | Yes                    | No                     |


---

# 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.knowbase.ai/chat/chat-all.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.
