# Answer reader questions with Ask AI

> Let readers ask your published docs questions in a chat, then use their questions and ratings to find and fill gaps in your documentation.

**Ask AI** lets readers ask questions about your published docs in plain
language. They get short answers with links to the exact sections the answer
came from. Ask AI answers only from your published docs. When the docs don't
cover a question, it says so and suggests the closest articles instead of
guessing.

## Turn it on

You need to be the site's Owner or an Admin.

1. Publish your site at least once.
2. Open **Settings → Smart AI**, connect a provider or use the one your Nibleaf
   host provides, and select **Enable with this provider**. See
   [Connect your own AI provider](/use-nibleaf/smart-ai).
3. Wait until the **Published search index** card says the index is ready.

Ask AI then appears on your published site. Nibleaf updates what it knows after
every publish.

To turn it off, select **Turn off workspace AI** in **Settings → Smart AI**.
Where your server offers it, you can also set **Grounded AI answers** to
**Disabled** in **Settings → Search**. Ordinary search keeps working either way.

## What readers see

Readers can open Ask AI in four ways:

- the **Ask AI** button in the corner of every page;
- in search, by choosing **Ask AI about "…"** for what they typed;
- the **Ask AI about this page** card at the end of an article, which focuses on
  that article;
- a link to your site that ends in `?ask=` followed by a question, which opens
  Ask AI and asks the question straight away.

On wide screens Ask AI opens as a side panel; on phones it fills the screen. It
follows the reader's language, including right-to-left layout for Arabic, and
your site's light or dark appearance.

Answers start with the direct answer, then give numbered steps that use the
button and setting names from your docs. Ask AI replies in the reader's
language, even when they mix two languages. If a question is vague, it asks one
short question back.

Numbered markers such as **1** and **2** point to source cards. Each card opens
the section the information came from. Under an answer, Ask AI suggests up to
three related questions. Readers can also ask follow-ups, stop an answer, copy
it, start a **New chat**, and rate each answer.

If Ask AI can't confirm an answer from your docs, it shows
**I couldn't verify this from the docs**, lists the articles most likely to help,
and adds a **Contact support** link if you set one. While an answer is being
written, readers may briefly see text that disappears when Ask AI checks its
sources. Only checked text stays on screen.

## Suggest first questions and a support link

These settings are in **Settings → Search**:

- **Suggested questions:** up to four questions, one per line, each 3 to 120
  characters. New readers see them before they type, in your site's default
  language. Use real questions your readers ask, such as "How do I reset my
  password?". Readers in other languages see general starter questions instead.
- **Support link:** your help page (`https://…`) or a support email address
  (`mailto:…`). Ask AI shows **Contact support** under answers it couldn't
  confirm. Leave it empty to hide the link.

## Review conversations and fill gaps

Open **AI assistant** in the site sidebar. Anyone on the site's team can view it.
It has three views:

- **Overview:** how many questions readers asked, how many were answered, reader
  satisfaction, and the estimated AI cost over time.
- **Conversations:** every chat. Filter by date, language, rating, or
  **Unanswered only**, then open a chat to read it, see which pages were cited,
  and read reader feedback.
- **Content gaps:** questions Ask AI could not answer and answers readers marked
  **Not helpful**. Select **Write an article about this** to copy the question
  and open the editor, then create a new page for it.

Admins and Owners can select **Delete conversation**. Deleted conversations
can't be restored.

## Privacy and saved questions

**Save questions to improve your docs**, in **Settings → Search**, controls
whether Nibleaf keeps the text of questions, answers, and reader comments. It is
on by default. While it is on, readers see a short note asking them not to
include personal details.

Even when it is on:

- Before saving, Nibleaf tries to remove details it can recognize: email
  addresses, links in questions and comments (links in answers keep their page
  address), phone numbers and other long numbers (such as ID or card
  numbers), and access keys and tokens. This is best effort. A password or
  other secret written in ordinary words, such as "my password is …", is saved
  as typed, so readers should never paste secrets into Ask AI.
- If your site shows a consent banner, text is saved only for readers who
  accept.
- Saved conversations are deleted automatically after the retention period your
  Nibleaf host sets (90 days by default).
- Nibleaf never saves who the reader is.

When it is off, Nibleaf stops saving the text of new questions and answers. It
still records counts, ratings, and costs so the overview stays useful.
Conversations saved while the setting was on keep their text until you delete
them or the retention period ends. If the **Conversations** view says
questions are not being saved, check this setting.

## Limits

Ask AI stops answering for the day when the site reaches its daily question or
AI-spend limit. It asks readers to start a new chat when a conversation gets
very long, and asks readers who send many questions quickly to wait a moment.
Your Nibleaf host sets these limits; self-hosters can read
[Operate hybrid search and grounded answers](/self-hosting/search-ai).
