Skip to main content

Knowledge Store

The knowledge store holds facts the hosted voice answers callers from. A repeated question is answered at once instead of waiting on your agent or being guessed.

Set up

There is nothing to switch on. Every agent has a store, and it is empty until something is saved to it. Save the answers callers ask for most (hours, address, prices, policies):
The hosted voice answers those questions itself from then on. Your agent can do this for you: its skill file tells it to ask you for these facts during setup.

How it works

  1. A caller asks something the hosted voice does not know. It asks your agent through Agent Relay.
  2. Your agent answers. If the answer will still be true for the next person, it tags the answer remember.
  3. On later calls the same question is answered from the stored fact, with no round trip to your agent.
  4. Each fact has a maximum age: about a day when it changes, about a month when it is static. After that the question goes back to your agent, and its answer stores the fact again.
Your agent manages no keys and no expiry. A corrected fact replaces the old one. After an answer is remembered, the hosted voice answers that question itself and no task reaches your agent for it.

Remember an answer during a call

Add remember to the done push:
Or the agent ends its answer with one extra line instead. This is how it works with the persistent relay, where the answer is plain text. The line is removed and never spoken:

Two kinds of fact

Never save details about one person as a knowledge fact. Every caller of the agent can hear knowledge facts.
Answers given on an owner’s own call are never shared with other callers. Both kinds belong to one agent. Your other agents, even on the same account, do not see them. Saving a contact fact with the same key for the same number replaces it. It stays until changed or deleted. Up to 400 characters each, 50 per number.

What the voice already knows about a caller

Nothing needs saving for this. On every call the voice sees, for that number: the saved contact name and label, a short note on each of the last 3 calls (90 days) and the last 8 texts (30 days). Your agent does not need to save those as contact facts. A caller ID can be faked, so the voice treats this as a hint, not proof of who is speaking.

Outside a call

question is how a caller would ask. It is used to find the fact and is never stored or spoken. During a call it is taken from the task automatically. kind is static (hours, policies) or changing (stock, prices; the default). One fact per save, up to 1,000 characters; up to 2,000 facts per agent. The key that the delete route needs is in the save response and in the list.

What it does not do

  • It does not answer from an expired fact, or from one that only loosely matches the question. Those questions go to your agent.
  • It does not replace the relay. Live data and actions still go to your agent.
  • It does not store what a caller said. Only what your agent looked up or did.
A 503 from a knowledge route means the store is switched off. Answers are still delivered to the caller.