Answers are wrong or miss your content
Fix answers that ignore your pages, give generic replies, get cut off or recommend the wrong things: check content, indexing, roles and AI settings.
Promptor answers from the content you put in a knowledge base. When answers are vague, wrong or ignore a page you know covers the topic, the cause is almost always what was indexed, how it was labelled, or how the AI is told to behave.
1. Is the content in the knowledge base?
- Open Knowledge Bases › Manage.
- Click Manage on the knowledge base your chat uses.
- Check that the page is selected.
In the free edition one knowledge base holds up to 35 items: pages, posts, custom post types, Q&A entries and TXT or Markdown files. Pick the content that answers most questions, such as your services, pricing and FAQ pages. With Pro there is no limit, and you can add WooCommerce products, PDF and DOCX files. See Choose content and set content roles and Add TXT, Markdown, PDF and DOCX files.
If the answer is not written anywhere on your site, add it as a Q&A entry: a question and its answer, indexed immediately. See Add Q&A entries.
Check which knowledge base the chat on that page uses. [promptor_search] uses the Default knowledge base; [promptor_search context="sales"] uses the one with the key sales. For the Promptor Chat block, check Answer from in the block's sidebar.
2. Was it indexed after the last change?
Promptor answers from an indexed copy of your content. Since 2.1.0, in both editions, selected content is re-indexed automatically when you publish or update it, and removed from the index when you unpublish or trash it. You don't need to sync after editing a selected page.
Check these cases:
- You just selected a page. Click Sync on the knowledge base (or Save & Sync in Manage). Selecting alone does not index it.
- The page is new. New content is not added to a knowledge base on its own. Select it and sync. With Pro, Auto-Add on Publish adds newly published content to the knowledge base for you.
- The text lives outside the post. Editing a template, a reusable block or theme options does not update the post, so nothing is re-indexed (see step 3).
- Sync says "Knowledge base is already up to date. Nothing to sync." Sync only adds newly selected items and removes deselected ones. To rebuild everything, click Clear Index, confirm, and then click Sync.
See Sync, re-index and clear a knowledge base.
During the free trial, Promptor does not sync. It reads the trial pages directly, up to 10,000 characters per page, and puts up to 6,000 characters into each prompt. Long pages are cut off. Add your own API key and sync to use your full content.
3. Is the text where Promptor can read it?
Promptor indexes the main content of a post or page, after running its shortcodes, with the HTML removed. Text that lives outside the main content (for example in theme options, sidebars, sliders or custom fields) is not indexed. If a page builder keeps text somewhere else, put the key facts in the page body or on a page made for the chat.
Files: TXT and Markdown files are read directly. PDF and DOCX files need Pro. If Promptor cannot extract a PDF's text, only its title, caption and description are indexed; the sync log says so.
4. Are the content roles right?
Each item has a Content Role that decides how Promptor uses it:
| Role | How the chat uses it |
|---|---|
| Service | Shown as a service card with a quote form |
| Product | Shown as a product card |
| FAQ | Linked as an FAQ |
| Blog Post | Linked as a related article |
Pages default to Service, which is why ordinary pages such as "About" can show up as service suggestions. Change their role to Blog Post if they are not services. See Recommend services and take quote requests.
5. Is the question clear enough?
Very short greetings and vague words (two words or fewer, such as "hi" or "help") get a friendly prompt to ask something more specific, instead of an AI answer. That is intended.
When no indexed content matches a question at all, Promptor gives a short reply that points to related content in the knowledge base and invites the visitor to rephrase, rather than an answer from your pages. Add content that covers the topic. The question is also listed in AI Conversations › Unanswered, where Add to knowledge base turns your answer into a Q&A entry in one click. See Review unanswered questions.
Since 2.1.0 the assistant also declines questions outside your business (general knowledge, code, homework, other companies) with a short message and no recommendations. Those refusals are intended and are not listed as unanswered.
6. Tune the AI behaviour
All in Settings › AI Behavior:
- Answers are cut off or show "Sorry, I could not put that answer together…": raise Maximum Tokens (default 1024). See Models, temperature and response length.
- Answers invent things or drift: lower Temperature (default 0.5), for example to 0.3.
- Too salesy or too chatty: change the Persona (for example Support Agent or Neutral Assistant) or the Tone. See Persona, tone and per-knowledge-base behavior.
- A manual prompt is on: if Enable manual system prompt is ticked, your own prompt replaces the persona and tone completely. Check that it still tells the AI to answer from your content.
In version 2.1.0, moving the Similarity Threshold slider still does not change which content is used for answers, so it won't fix missing answers. The same applies to the conversation summarization settings. See Search accuracy and long conversations.
7. Language
Promptor replies in the visitor's language. Questions in another language are translated into your site language before searching, so content in your site language works best.
The Language setting in Settings › UI Settings changes only the language of Promptor's admin screens and the chat widget's buttons and labels. It does not change the language the AI answers in. See Change the plugin language.
Check your results
- Open the page with the chat in a private browser window.
- Click the refresh button in the chat header to start a new conversation.
- Ask the question again.
- Open AI Conversations to see the answer and which articles, services or products it recommended. The Unanswered view lists questions that found no content or got a thumbs-down.
Related
Still need help?
Our support team answers every ticket. Tell us your WordPress version, Promptor version and what you see.
