Create a chatbot
The Chatbot module answers your customers on Telegram, Messenger, Zalo and your website. A chatbot answers from two sources only: the actions you grant it, which read live data from your systems, and the documents you upload. When neither answers the question, it passes the conversation to your staff.
The module is available when your license includes it.
Before you start
- Enable at least one model under Settings → Models: see Settings, backups and updates.
- For a knowledge base, you also need an embedding model, hosted or local.
Create it
Open Administration → Chatbots and choose New chatbot. The chatbot gets its own identity, an agent, and its own group. Every call it makes goes through the same checks as an employee's call, and is recorded in the audit log under its name.
Settings
| Field | What it does |
|---|---|
| Model | The model that writes the replies. A model that accepts images lets the chatbot read pictures customers send. |
| Embedding provider and model | Used to search the knowledge base. |
| Instructions | Who the bot serves, its tone, what it must not do. |
| Inbox group | The group whose members handle this chatbot's conversations in the inbox. |
| Messages per contact per minute | A customer who writes faster is asked to slow down. |
| Max message length | A longer message is refused with a short notice. |
| Keep pictures (days) | Pictures older than this are removed every night. 0 keeps them for good. |
You do not need to write the safety rules into the instructions. Inferaz adds them for every chatbot: answer only from tool results and documents, name the source document, never invent prices, dates or account details, and hand over to a person when there is no grounded answer.
Turn the chatbot on with the Enabled switch when its channels are ready.
Give it tools
A new chatbot can do nothing in your systems. Grant actions to its group in Permissions, as you would for a group of employees: see Permissions. The chatbot's page has a link to its group.
Two rules protect your customers' data:
- A chatbot's write actions wait for approval unless a rule allows them. The customer is told that staff will review the request.
- To limit an action to the customer's own records, bind its parameter to
customer.idorcustomer.<attribute>in the data scope. The chatbot can then act only for a customer whose identity was checked: see Inbox and customer links.
Next
- Channels: where customers reach the chatbot.
- Knowledge base: the documents it answers from.
- Inbox and customer links: where staff take over.