How answers are grounded
How your assistant builds answers from your own information, what it does when it does not know, citations, and how to get better answers.
Your customers need correct answers, not confident guesses. BotBaseX assistants are built to answer business questions only from the information you give them: your documents, your website and the social posts you add.
#What happens when someone asks a question
- Understand the question. The assistant works out what the person really wants, including follow-up questions like "and for weekends?" that depend on earlier messages. Questions in Kiswahili or mixed language are understood too.
- Search your knowledge. It searches your documents, website pages and (for that assistant) social posts for the passages that match. A question with several parts gets a search for each part.
- Pick the best passages. The most relevant passages are kept, each labelled with its title, type (uploaded document, website page or social post), link and the date it was read.
- Write the answer. The AI writes a natural reply from those passages, in the language the person is using.
#The rules your assistant follows
These rules are built into every assistant. You do not need to write them in your instructions.
- Business facts come only from your knowledge. Prices, products, services, opening hours, policies, locations, people and contact details are never invented or estimated.
- It may connect and explain. It can combine facts from several sources, compare options, summarise and recommend. When it suggests something, it keeps its own suggestion separate from the facts ("Based on the courses listed, you might consider…").
- No promises it cannot keep. It does not promise refunds, discounts, delivery dates, admission or approvals beyond what your information says.
- Trust order. Uploaded documents come first, then your website, then other sources such as social posts. If sources disagree, it mentions the difference instead of silently picking one, and suggests confirming.
- Dates matter. It compares dates with today, so a past event is described as past, not as upcoming.
- Private details stay private. It does not share things like home addresses, private phone numbers, salaries or ID numbers, even if they appear in a document. Public office contacts are fine.
- Instructions inside documents are ignored. If a web page or file contains text like "ignore your rules", the assistant treats it as information, never as a command.
#Small talk and general questions
Greetings, thanks and goodbyes ("Habari!", "Asante sana") get a natural reply without searching your knowledge. General questions, such as what a word means, can be answered from general understanding. The strict rule applies to facts about your business.
#When the answer is not in your knowledge
The assistant says so honestly and in plain words. It does not mention "documents" or "the knowledge base". It then:
- shares related information that does exist, and
- suggests a useful next step, such as a phone number or office listed in your information.
For example, if a customer asks a clinic's assistant "Do you accept NHIF?" and your documents do not mention insurance, it should say it does not have that information and point to the clinic's phone number, not guess "yes".
#Citations and sources
Each answer remembers which passages it came from. You decide whether visitors see them.
- Open Settings, find Widget appearance, and switch on Show citations and sources.
- It is off by default. When it is off, answers still come from your knowledge, but visitors do not see the source chips.
- When it is on, visitors see which document or page an answer came from, and website pages link to the original page.
Even with citations off, the assistant may end an answer with a useful link from your website, such as an application page. It only uses links that appear in your information.
#Tips to improve answers
| Problem | Fix |
|---|---|
| "I don't have that information" for something you do offer | Add it to a document or website page in clear words, then test again. |
| Old prices or dates | Delete the old document, or refresh the website. Put the year on price lists. |
| Two different answers to the same question | Remove the conflicting source, so there is one clear fact. |
| Answer is too long or too formal | Choose a different personality, or add a rule in your instructions such as "Keep answers under 4 sentences". |
| Wrong tone with customers | Add interaction guidelines, for example "Always greet in Swahili first". |
| Website content missing | Check the website shows Ready, not Limited. See Websites. |
Write facts the way customers ask about them. "Delivery within Dar es Salaam: same day, TZS 5,000. Outside Dar: 2 to 3 days via bus parcel." is easier to answer from than a long paragraph.