# AI assistant

Readers ask questions and get short answers written from your pages, with citations.

**Ask AI** lets readers ask questions in plain language and get short answers written only from your
site's pages, with numbered citations that link to the pages they come from.

## Turn it on

Open the site's **Customize → AI & features** and turn on **Ask AI**. Readers then see an
**Ask AI** button in the header, and the search dialog offers to ask the question they typed.

## How answers are made

1. Docsheaf searches your published pages — in the section variant the reader is on — for the question
   (and the previous one, for follow-ups).
2. The best passages of the top five pages go to the model with instructions to answer **only** from
   them, cite them, say when the docs don't cover the question, and reply in the reader's language.
3. The answer streams in with its sources. If nothing matched, the reader is told so instead of getting
   a guess.

Hidden pages are never used, and on sites that [trust signed claims](adaptive-content#personalize-or-protect)
neither is anything the reader isn't allowed to see.

## Answers and limits

Each plan includes a number of answers per organization per month, shared by its sites. Past that,
[AI credits](ai-credits) take over; without credits, Ask AI pauses until
next month. Admins are notified at 80% and 100% of the month's answers.

To keep costs predictable, each visitor can ask a limited number of questions per minute and per day,
and may be asked to complete a captcha after a few questions.

## Learn from questions

Every question shows up in [Insights](insights), along with whether it was answered and how
readers rated it. Questions without a good answer appear in [Content gaps](content-gaps-and-broken-links)
— a ready-made list of what to write next.

## Privacy

Questions and the matching excerpts are sent to Anthropic, our AI sub-processor. Answers are stored
without the reader's IP address or any visitor identifier. Change request previews never show Ask AI.

The AI assistant is part of the Starter plan and above, or available on any plan with AI credits.
