Jamdesk Documentation logo

AI Chat

Every Jamdesk docs site includes a built-in AI chat assistant. Visitors ask questions and get answers with citations from your documentation.

Every Jamdesk site has a chat assistant that answers visitor questions from your documentation. It finds the relevant sections and sends them to Claude. The response streams back with links to the source pages. Chat is on by default on every plan at no extra cost.

Here's the chat assistant in action:

Use Cases

A developer integrating your API asks "How do I authenticate requests?" and gets back the exact steps with a code example, plus a link to the source page.

How It Works

1
Build indexes your docs

During each build, Jamdesk splits your pages into sections and stores them as searchable embeddings.

2
Visitor asks a question

The "Ask AI" button (or Cmd+I / Ctrl+I) opens a chat panel on any page.

3
AI answers from your docs

Jamdesk retrieves the relevant sections and sends them to Claude as context. The response streams back with citation links to the source pages.

Features

FeatureDetail
Streaming responsesAnswers arrive in real-time
Citation linksEach answer links to the docs pages it drew from
DisambiguationThe AI asks which topic the visitor means when a question matches several
Conversation context10-message history, persisted per browser tab
Starter questionsAuto-generated from your docs, or set your own in docs.json
Keyboard shortcutsCmd+I / Ctrl+I to toggle, Escape to close
Markdown renderingCode blocks, tables, and lists render inside responses

Chat panel empty state with starter questions

Configuration

Chat needs no configuration. Add a chat block to docs.json only to change the starter questions, rename the button, change its icon, or turn chat off. Every setting has a default.

docs.json
{
  "chat": {
    "enabled": true,
    "starterQuestions": [
      "How do I get started?",
      "What API endpoints are available?"
    ]
  }
}
FieldTypeDefaultDescription
enabledbooleantrueSet false to remove the Ask AI button, chat panel, and keyboard shortcut from your site
starterQuestionsstring[]auto-generatedUp to 4 questions shown when the panel opens (5-200 characters each). Auto-generated from your docs when omitted; set to [] to show none
labelstring"Ask AI" in the page's languageReplaces "Ask AI" on the chat button, panel header and search shortcut. Up to 40 characters. Applies to every language.
iconstringsparklesA Font Awesome icon name, an image URL, or a path to an image in your project. A Font Awesome icon follows your accent color. An image is shown as is. Pick one that reads on a dark background.

Starter questions

Starter questions are one-click prompts shown in the chat panel before a visitor types anything. Jamdesk generates them from your documentation on every build when starterQuestions is missing from docs.json. They stay current as your docs grow.

List your own in the starterQuestions array. Use this to put your support team's repeat questions first:

docs.json
{
  "chat": {
    "starterQuestions": [
      "How do notifications work?",
      "Tell me more about analytics"
    ]
  }
}

Set up to 4 starter questions, 5 to 200 characters each. Set starterQuestions to an empty array ([]) to show none.

Custom name and icon

The chat button, panel header and search shortcut say "Ask AI" by default, with a sparkles icon. Set label and icon to match your product:

docs.json
{
  "chat": {
    "label": "Acme Assistant",
    "icon": "/images/assistant.svg"
  }
}

The label is the same in every language of your site. An icon value such as robot is a Font Awesome name. A value that starts with http://, https:// or /, or ends in an image extension, is treated as an image.

Disabling chat

Chat is on by default on every plan. Set enabled to false to turn it off. This removes the Ask AI button, the chat panel, and the Cmd+I / Ctrl+I shortcut:

docs.json
{
  "chat": {
    "enabled": false
  }
}

Disabling chat doesn't affect search. AI chat and search are separate features.

Limits

LimitValue
Max message length2,000 characters
Max response length2,048 tokens
Rate limit10 requests / 60 seconds per visitor per site
Conversation history10 messages per tab
Starter questions4 max

Chat works on custom domains. The /_chat endpoint is same-origin. It works on any domain that serves your docs.

Jamdesk splits your pages into sections during each build and stores a vector embedding per section. A visitor's question triggers a hybrid search (keyword matching combined with semantic similarity) for the most relevant sections across your docs. Jamdesk sends those sections to Claude as context, with instructions to answer only from the provided documentation. Jamdesk extracts citations by matching page references in Claude's response against the retrieved sections.

What's Next?

llms.txt

Auto-generated page index for AI tools

MCP Server

Let AI tools search and query your docs programmatically

docs.json Reference

All configuration fields including chat settings

How Jamdesk Works

The build pipeline that powers chat indexing