Aimigo

Coming next

Speech and live empathy

Where listening, live empathy and the voice of a digital human run - in the cloud or on the visitor's device - and what that means for cost, privacy and your visitors.

Three functions

FunctionWhat it does
Speech recognitionturns what a visitor says into text for the AI
Live empathywhile the visitor is still speaking, the digital human mirrors the mood of their words with a facial expression
Voicespeaks the AI's answer

For each of them you choose where it runs. The choice holds for all digital humans of your account.

Live empathy

People show that they listen: a smile at good news, a concerned look at bad news. With live empathy the digital human does the same. While a visitor speaks, the words so far are checked for their mood (joy, sadness, anger, fear, surprise, disgust, or neutral) and the face follows, before the AI answers. When the mood is unclear the face stays neutral. It never replaces the expressions of the answer itself.

Live empathy is off by default, because its cloud version costs you money: roughly a tenth of a cent per spoken sentence, charged to your AI budget by actual use. Switch it on under AI provider > Speech and live empathy > Live empathy. If it cannot run for a moment (budget used up, too many requests, no connection), the conversation simply continues without the expression.

Cloud, device or automatic

ChoiceWhat happensCost for youPrivacy
Cloud (default)The function runs on the Aimigo service. It works at once on every deviceCharged to your AI budget, or to your own provider account if you connected oneWhat the visitor says is sent to the service for that function. The text checked for live empathy is not stored
On the visitor's deviceA model on the visitor's device does the work. The cloud is never used for that functionNoneNothing of that function leaves the device
Automatic (cloud first, then the device)Starts in the cloud. As soon as the model is ready on the visitor's device, the device takes overOnly for the time before the device takes overAs "Cloud" at first, then as "On the visitor's device"

Things to know:

  • "On the visitor's device" has no fallback. Until the model is on the device, speech recognition and the voice do not work there and live

    empathy stays off. Choose "Automatic" if every visitor should be served from the first second.

  • A function can consist of several steps. With "Automatic", each step moves to the device when its own model is ready; a step without a device

    version stays in the cloud. So "Automatic" lowers the cloud cost and does not always remove it.

  • Not available yet. Functions marked this way in your account still run in the cloud whatever you choose. Your choice is saved and takes

    effect when the on-device version of that function is released. In the first release this applies to speech recognition and the voice.

Models on the visitor's device

A model is a file that the visitor's browser or app downloads once and keeps. These settings only matter when at least one function is not set to "Cloud".

SettingChoices
Downloading the modelsNever: a model is used only if it is already on the device. Ask the visitor (default): the visitor is asked once per device whether the models may be downloaded; without a yes, nothing is downloaded. In the background, without asking: the download starts by itself
Switching from the cloud to the device (under Advanced)Automatically (default): the device takes over as soon as the model is ready. Only after the visitor confirms: the visitor is asked before the device takes over
Largest download per device (under Advanced)In megabytes, 0 to 2000, default 300. Larger models are never downloaded for your digital humans

What your visitors are asked

Your settingsThe visitor sees
Everything on "Cloud"No question
Download "Never"No question. Nothing is downloaded
Download "Ask the visitor"One question per device before the first download. A no is remembered; the cloud keeps working where you allow it
Download "In the background"No question about the download
Switching "Only after the visitor confirms"One question when the model is ready, before the device takes over

"In the background" needs your confirmation

A download without a question uses your visitors' data volume and storage space, and on a mobile connection it can cost them money. So this choice asks you to read and accept a short set of notes first. Your account then shows when they were accepted. When the notes change you are asked again; until you confirm, visitors are asked first, exactly as with "Ask the visitor". You decide this for your visitors, and you inform them where the law requires it, for example in your privacy information.

Set it up

  1. Open AI provider in your account.
  2. Under Speech and live empathy, switch on Live empathy if you want it.
  3. Choose where each function runs.
  4. If a function is not on "Cloud": choose how the models are downloaded. "Advanced" holds the switching rule and the size limit.
  5. Click Save speech settings. It applies to all your digital humans.

For developers and AI agents

The digital human reports what is in effect on a device (which step runs where, which models are installed or downloading, whether the visitor agreed) through the command aimigo.speech.getStatus and the events speech and empathy. A page with its own interface can ask the visitor itself and pass the answer on with aimigo.speech.setConsent and aimigo.speech.confirmSwitch. On a web page the policy always comes from your account; it cannot be changed from the page. The command reference lists these commands once they are released.

This page as Markdown · llms.txt · All docs in one file