Knowledge Bases

Create and manage knowledge bases

Create a new knowledge base, find its shortcode, and manage, sync, clear or delete knowledge bases from the Knowledge Bases screen.

All your knowledge bases live on Knowledge Bases › Manage. From there you create new ones, open their content, sync them and copy their shortcodes.

If you're new to knowledge bases, read How knowledge bases work first.

The Manage tab

Click Knowledge Bases in the top navigation. The Manage tab opens. Under Manage Existing Knowledge Bases you see one card per knowledge base.

Knowledge base cards on the Manage tab, each with its shortcode, counter and buttons
Each card shows the source, shortcode and indexed items

Each card shows:

ItemWhat it means
NameThe knowledge base's name. The built-in one is marked (Default).
Source badgeManual if you selected content by hand, Crawler if it was filled by the website crawler (Pro).
ShortcodeThe shortcode that shows the chat for this knowledge base, for example [promptor_search context="support"]. The Default knowledge base on the free version shows [promptor_search].
Indexed Docs / ChunksHow many items are indexed, and how many text chunks they were split into.

And these buttons:

ButtonWhat it does
ManageOpens the content screen, where you select items, set roles and add Q&A entries and files. See Choose content and set content roles. On a crawler knowledge base the button is greyed out, because the crawler manages its content.
SyncUpdates the index to match your selection. See Sync, re-index and clear a knowledge base. Don't use it on a crawler knowledge base; run the crawler instead.
Clear IndexRemoves all indexed data for this knowledge base. Your selection is kept.
× (Delete)Permanently deletes the knowledge base and its indexed data. Not shown on Default.

The Log box at the bottom shows the live status of syncs and crawls.

Create a knowledge base

The free version includes one knowledge base, Default. To create more, you need Promptor Pro. On the free version you see "You are using Promptor Lite and have reached the limit of 1 knowledge base." instead of the create form. Compare plans.

  1. On Knowledge Bases › Manage, find Create New Knowledge Base.
  2. In Short Name (Key), type a short, lowercase name with no spaces, for example support or sales.
  3. Click Create.

The new knowledge base appears as a card. It is empty until you add content and sync it.

Naming rules

  • Use lowercase letters, numbers, hyphens (-) and underscores (_). Promptor removes any other characters and converts capitals to lowercase.
  • The key must be unique. If it already exists, you see "Knowledge base with this name already exists."
  • The display name is made from the key: customer-support becomes "Customer support".
  • The key is what you use in the shortcode, so choose something you can type easily.

Add the chat for a knowledge base

The easiest way is the Promptor Chat block: add it to the page and pick the knowledge base under Knowledge base › Answer from in the block settings. See Add the chat with the Gutenberg block.

You can also copy the shortcode from the card and paste it into a Shortcode block. For a knowledge base with the key support:

[promptor_search context="support"]

If the context value doesn't match an existing knowledge base, the shortcode shows nothing. See Add the chat to your site.

Give a knowledge base its own behavior

You can set a different persona and tone per knowledge base, for example a Sales Assistant for sales and a Support Agent for support. Go to Settings › AI Behavior and open Knowledge Base Overrides. See Persona, tone and per-knowledge-base behavior.

With Pro you can also give each knowledge base's inline chat its own look. See Customize the chat's appearance.

Delete a knowledge base

  1. On the knowledge base's card, click ×.
  2. Confirm the deletion.

The card disappears, and all indexed data for that knowledge base is removed. Any page that still uses its shortcode then shows nothing, so remove or change those shortcodes.

Deleting cannot be undone. The Default knowledge base cannot be deleted. To empty it, use Clear Index instead.

Still need help?

Our support team answers every ticket. Tell us your WordPress version, Promptor version and what you see.

Read the FAQSee what changed in each version

Open a support ticket

All help topics