---
title: Knowledge suggestions
summary: Whoever cannot change the knowledge base suggests a new entry, a change or a removal, and Talemo itself suggests what it found in the chats of a new connection. Nothing changes until a person with the right accepts, changes or declines the suggestion.
tools: [talemo_propose_knowledge, talemo_list_knowledge_proposals]
related: [knowledge-entry, versions-and-removed, knowledge-search, online-admin-and-knowledge]
search: [suggest edit, approve change]
---

# Knowledge suggestions

## Who suggests, and what

- A team member whose role allows suggesting, with **Suggest** on an entry or
  **Suggest a change**.
- A program connected over MCP, with `talemo_propose_knowledge`, on behalf of the
  person who connected it.
- The online admin, only for questions it found no answer to (see
  [How the online admin uses the knowledge base](online-admin-and-knowledge.md)).
- Talemo itself, after it reads the chats of a new connection (see "Suggestions
  from your chats" below).

A suggestion is a new entry, a change to an entry as a whole, or a removal. An
optional note says why, and the people who approve see it. The assistant does not suggest: it changes entries
itself after the person's confirmation. While a suggestion waits, the online admin
keeps answering the old way.

## Where the queue is

- Web version: **Knowledge → Suggestions**. The count also shows in **Today**.
  Filters: Waiting, All suggestions, Decided, My suggestions, and who suggested
  (a person, a program, the online admin). What Talemo suggests from the chats is
  a group of its own at the top.
- App: **Waiting for you**, the knowledge suggestions line, then a sheet for each
  suggestion with **Accept**, **Change**, **No thanks** and **Accept all**. **Change**
  asks the assistant to change the suggestion: there is no text field in the app.
  **Change** is there only where the assistant can do it: on an entry and on a rule of two
  parts. A question without an answer can only be turned down with **No thanks**.

A person who can only suggest sees only their own suggestions. Whoever approves
sees the whole queue. Over MCP the queue is `talemo_list_knowledge_proposals`.

## Deciding

- **Accept** puts the change in as a new version of the entry. The history
  names the one who suggested and the one who approved.
- **Change** lets the approver edit the text first, then accept it. The history
  says "changed and approved". On a rule of two parts, **Change** opens two fields,
  **When** and **What to do**, and a switch "Then hand the chat to your team — you answer
  from there"; both fields must be filled in, and **Accept** in that window takes the rule
  with the change. In the app the assistant shows the rule with the change, and
  **Accept** under it takes the rule that way. A rule that is one phrase (from an older
  reading) has no **Change**: after you accept it, edit it in the script.
- **No thanks** leaves the knowledge base as it was. A reason is optional and the one who
  suggested sees it.

The first decision closes the suggestion for everyone. A second person is told
it was already decided.

## Accept in one go

Frequent answers and entries without numbers can be
accepted together, with **Accept all** and the number it names, or **Accept both** when there are two. The voice, rules, prices and changes are decided one by one.
A suggestion that looks like an entry already in the knowledge base also goes alone:
the queue says "Looks like the entry ..." with a link, and a person decides
whether a second one is needed. If a batch contains anything that must go alone,
nothing in it is accepted.

## Repeats and changes in between

- The same suggestion made again while the first waits is not added twice. New
  chats it came from are added to the first.
- The same text that was rejected is refused unless it is changed or a new chat
  supports it.
- If the entry changed while the suggestion waited, it cannot be approved as it
  stands. The queue marks it "entry changed", and the change is made again.

## Source chats

A source chat shows by channel and name only to someone who can see it. Other chats
are only counted, for example "2 more chats". When a chat is ignored, its suggestions
not yet approved are withdrawn. Approved ones stay, without the link to the chat.

## Suggestions from your chats

When a WhatsApp, Instagram or Messenger channel is connected and its history has
come in, Talemo reads the chats once and suggests what the business keeps saying.
It reads each chat once, and the reading costs up to $2 from the balance. If the
balance is too low, or the monthly spending limit is used up, it waits and starts
by itself once there is room.

- A **ready answer** to a question clients ask often, written from the owner's own
  replies. When the replies differ or name a person, there is no ready answer:
  the suggestion is the question, and the replies are shown below it to write the
  answer from.
- An **entry** for the knowledge base, a suggestion for the **voice** of the business
  and a **rule** for the online admin. A rule has two parts, **When** (the situation) and
  **What to do**, and when it applies the online admin also passes the chat to your
  team ("Then: hand the chat to your team — you answer from there"). Accepting a rule
  puts it into the script of the online admin, so it needs the right to change that script.
- A **price check**: the price or the duration the owner names in the chats differs
  from the service. Talemo changes nothing in the services. A person fixes the
  service (in the app, with the assistant), and the check closes by itself.

At the top of the group one line says where the reading is: it goes now, it waits
for a date, for money or for the limit, it is done, nothing new was found, or it
could not be finished. Each suggestion shows where it comes from: the first three
chats with the start of the owner's reply, the rest by name; the words and names
show only to someone who can see the chat. Until a suggestion is accepted, the
online admin answers the old way.

**Today** in the web version and **Waiting for you** in the app show one line,
"Talemo read 240 chats from the last six months — 6 suggestions on what to keep"; in the web version
it has **Review**, in the app it opens the sheet of the suggestions. When
reading has not started for lack of money or because of the limit, the web version
shows that instead, with **Top up** or **Change limit**; the app has no payment, so
there it shows only the finished reading. **Hide** takes the line off the list for
everyone until something changes.

## Tools and refusals

- `talemo_propose_knowledge` proposes a change: `action` is `create` (a new entry), `edit` (an entry as a whole) or `archive` (a removal). Nothing changes until a person with the right approves it in Talemo, and until then the online admin keeps answering the old way. `note` says why, up to 500 characters.
- A new entry takes `kind` (`article` or an answer to a frequent question), `topic` and the text; an edit and a removal take `document_id` and the `version` they start from. A newer version is refused with `knowledge.version_conflict` and `params.version`: read the entry again with `talemo_get_knowledge`.
- Name in `conversations` every chat the proposal retells (`talemo_list_conversations` finds them). Ignoring a chat withdraws what was drawn from it.
- The same proposal already waiting is answered with it, and new chats are added to it. The same text rejected before comes back only with a chat it did not have, otherwise it is refused with `knowledge.proposal_rejected`.
- A new entry close in meaning to a live one comes back with `similar`: a person decides whether a second one is needed. With `dry_run` there is no `similar`, because comparing costs money.
- `talemo_list_knowledge_proposals` shows the queue, newest first: what each proposal would make of the entry, who proposed it, whether the entry changed since, `similar` and the decision. A role that keeps only its own sees only its own. A question without an answer comes from the online admin: it has no text, and `asked_again` counts the clients who asked the same after it was rejected.
- A proposal Talemo made from the chats has `learned` true, and `learning` in the answer says where the reading is: its `state`, how many chats were `read` and, when known, the `total`. Its `action` can also be `script_rule` (a rule for the online admin's script, with `rule_then`; `rule_when` and `rule_do` hold the situation and what to do in it, both filled when Talemo wrote the rule in two parts, and Talemo puts “When” and “What to do” before them on the screen; on an older rule both are empty and `body` is the whole rule) or `price_check` (the numbers in `check` are in whole units of the branch currency). The chats it comes from are in `conversations`, and the first three carry a `quote`: the start of the owner's reply, only for someone who can see the chat.
- The decision is a person's. A program that approves or rejects is refused with `auth.required`: the person does it in Talemo.
