---
title: Knowledge sources
description: Teach the AI from your website, files, help-center articles, pinned answers and your team's replies.
section: Chat and knowledge
order: 4
---

The AI only answers from what you give it. Everything you add under **Knowledge** becomes searchable passages, and an answer must cite one of them, or the AI offers your team instead.

## Kinds of knowledge

| Kind | Best for | Where |
|---|---|---|
| **Website** | Your docs or marketing site, kept in sync automatically | Sources |
| **Files** | PDFs, Word documents, Markdown and text that aren't on a website | Sources |
| **Articles** | Help-center pages you write in PandaDesk, also published at your [help center](/docs/help-center) | Articles |
| **Pinned answers** | Exact, official answers to specific questions | Pinned answers |
| **Team replies** | Answers your team gave in the inbox, turned into proposals you approve | Sources → Learn from team replies |

## Websites

Enter a site, a section of it, or a sitemap under **Sources → Website**, then choose **Crawl**.

- **Scope:** pages on the same domain, under the path you entered. `https://example.com/docs` crawls everything under `/docs`. A site root or a sitemap crawls the whole domain.
- **Sitemaps:** if the site has a `sitemap.xml` (or lists sitemaps in `robots.txt`), its pages are used first. You can also enter a sitemap URL directly.
- **robots.txt:** respected, including its crawl delay.
- **Re-sync:** every website is re-crawled daily. Choose **Sync now** to refresh it straight away. Pages that haven't changed are skipped.
- **Your PandaDesk help center:** adding it as a website works too, but only its published articles are crawled. If it has none yet, the source says so.
- **Pages:** each crawled page counts toward your plan's page limit (below). When you're near the limit, the crawl keeps the pages it found first.

Only public `http` and `https` addresses can be crawled. Pages behind a login aren't reachable.

## Files

Upload under **Sources → Files**:

- **Types:** PDF, Word (`.docx`), Markdown (`.md`, `.markdown`) and plain text (`.txt`).
- **Size:** up to 10 MB each. PDFs up to 1,000 pages.
- Files are checked by their contents, not only their extension, so a renamed file is rejected with a clear reason.
- Scanned PDFs (images of text) aren't read.

The original upload is only kept until its text has been extracted, then deleted. A file that fails to import is kept for 7 days so you can retry it. Your knowledge lives on as searchable passages.

## Import status

Imports run in the background. Each document shows its status:

| Status | Meaning |
|---|---|
| Queued | Waiting its turn. |
| Reading | Being fetched and its text extracted. |
| Searchable | The AI can find it by its words. |
| Ready | Also searchable by meaning (see below). |
| Failed | Something went wrong; the reason is shown, and you can **Retry**. |

## When sources disagree

Each passage the AI reads carries the date it last changed in PandaDesk: when an article or pinned answer was edited, or when a file or page was imported or last re-synced with new content. If two passages contradict each other, the AI goes with the newer one. A pinned answer always wins.

So if you change a policy, update it in one place and the AI stops repeating the old version, even while an older page elsewhere still says otherwise.

## Search by meaning

Besides matching words, PandaDesk searches by meaning, so "when could I be living over there?" can find a passage about how long a visa takes. Every passage is turned into a vector in the background after it's imported; the Sources page shows how many are done. Until a passage has its vector, word search still finds it.

## Pinned answers

A pinned answer is your team's exact wording for a question.

- When a customer's message matches a pinned question exactly (ignoring case and punctuation), the answer is sent as written, without an AI call.
- For similar questions, pinned answers are searched like any other knowledge and win over other passages when they disagree.
- You can turn a pinned answer off without deleting it.

## Articles

Articles are pages in your [help center](/docs/help-center), written in Markdown and grouped into collections. Published articles are also knowledge for the AI. Drafts aren't.

## Questions the AI couldn't answer

**Not answered** lists questions customers asked that your knowledge didn't cover, most-asked first. For each one you can:

- **Write an article**: PandaDesk drafts one from the question for you to edit and publish.
- **Pin an answer**: write the exact answer.
- **Dismiss** it.

## Learn from team replies

When your team resolves a conversation it answered, PandaDesk proposes the answer as knowledge, without personal details. Nothing is used until you approve it under **Sources**, where you can edit or reject each proposal. It's on by default for new workspaces; turn it off under **Sources → Learn from team replies**.

## Plan limits

Per app (workspace):

| | Starter | Pro |
|---|---|---|
| Website pages | 500 | 5,000 |
| Files | 50 | 500 |
| File storage | 250 MB | 2,500 MB |

## With your coding agent

Ask your agent to "import our docs into PandaDesk". It uses:

- `add_website` (`npx pandadesk add_website --url https://docs.example.com`), `resync_website`, `remove_source`
- `add_text` for content from your repo, `add_file_from_url` for PDFs and other files
- `get_knowledge_status` and `list_documents` to watch imports, `retry_document` and `delete_document`
- `get_document` to read a document's text, `update_document` to change a text or file document in place (a few exact edits or the whole text) without uploading it again
- `create_article`, `update_article`, `list_articles`, `save_pinned_answer`, `list_pinned_answers`
- `list_unanswered_questions` and `dismiss_unanswered_question`, or the `fill_knowledge_gaps` prompt
- `search_knowledge` to see exactly which passages the AI would find for a question
- `set_learn_from_replies`, `list_knowledge_proposals`, `approve_proposal`, `reject_proposal`
