An AI that answers clients is only as good as what it knows. Without your price list, delivery areas and return policy, it can do one of two things: guess, and give a client a wrong price in your name, or say "a member of the team will get back to you" to every question.
The knowledge base is where you give the AI those details. The AI assistant in the inbox and the AI Agent Reply workflow action answer from it, and from nothing else besides your AI settings.
This document explains how to fill the knowledge base, how to check what the AI will find in it, and how to keep it up to date.
| Requirement | Detail |
|---|---|
| Menu | Settings > AI > Knowledge Base. |
| Permission | Manage Account Settings. |
| Plan | AI features are available on paid plans; the Free plan has none. See the plans on the pricing page. |
| AI credits | Reading new content uses AI credits, and so does Try a question. See AI credits. |

The knowledge base is not read in full before every reply. When Alaaqat adds content, it cuts it into passages. When a client writes, the AI looks up the passages that best match the client's last message, and answers from those.
So you can add as much as you like: a long price list costs nothing extra when a client asks about delivery. What matters is that the answer to a question is written somewhere, in words close to the ones a client would use.
Press Add content. The Write tab is open.

Press Save. The entry appears in the list with the status Reading….
Prefer one entry per subject, such as Delivery areas and fees or Gift wrapping and cards, over one long text about everything. Entries are easier to find, rename and replace.
On the Upload files tab, press Choose Files.

| Rule | Limit |
|---|---|
| File types | PDF, TXT, MD or CSV. |
| Size of one file | Up to 10 MB. |
| One upload | Up to 10 files and 90 MB together. |
Each file becomes its own entry, named after the file. Reading a PDF uses AI credits; text files don't.
A TXT, MD or CSV file must be saved as UTF-8 text. Excel and Notepad sometimes save Arabic text in an older format, and the file then fails. In Excel, choose CSV UTF-8 when you save.
On the Web pages tab, paste the address of a page, such as your FAQ page. Press Add another page to add more, up to 20 at once.

http:// or https://, and be at most 5 MB.Your canned responses already hold answers your team checked. Press Import canned responses to add them to the knowledge base.
| Status | Meaning |
|---|---|
| Reading… | The content is being read and cut into passages. The list updates by itself. |
| Ready | The AI can answer from it. Passages shows how many passages it was cut into. |
| Failed | It could not be read. The reason is shown under the status. |
A failed entry has a Try again button. Fix the cause first, if it is one you can fix:
| Reason shown | What to do |
|---|---|
| No text was found in it. | The file is probably a scan or a picture. Upload a file with real text, or write the content. |
| It is longer than 200,000 characters. Split it into smaller parts. | Split it into several entries. |
| It is too long to be read in one go. Split it into smaller files. | Split the file. |
| The file is not saved as UTF-8 text. | Save it as UTF-8 and upload it again. |
| This address cannot be read. | Use a public page starting with http:// or https://. |
| The page redirects to another address. Add the final address instead. | Open the page in your browser and copy the address it ends on. |
| The page could not be opened. | Check the page is online and public, then press Try again. |
| The address is not a web page, or the page is larger than 5 MB. | Add a smaller page, or upload the content as a file. |
| AI is switched off for this account or you have no AI credits left. | Turn AI on in AI settings or top up your AI credits, then press Try again. |
| Something went wrong. Try again in a few minutes. | Press Try again later. |
Under the list, Try a question shows what the AI would find for a question. Type what a client would ask, up to 500 characters, and press Search.
The result lists the passages the AI would answer from, each with the title of its entry. If it shows Nothing in your knowledge base matches this question., or passages that don't answer the question, add the missing answer before your clients ask it.
Try the questions clients really send, in the words they use and in both languages you serve.