Batbot turns a short creator prompt and an optional Khizana into a protected assistant for a standalone page or drop-in website widget. Text chat is always available. Daktilo voice input and ASAT spoken replies form separate, owner-billed capabilities.
Choose one mode while creating or updating a Batbot:
| Mode | Behavior | ASAT usage |
|---|---|---|
| Text only | No Listen control and no speech generation | None |
| Play on demand | A visitor presses Listen on an assistant reply | Generated only after the first press |
| Play automatically | Batbot requests speech after every successful assistant reply | Generated for each reply |
Autoplay is best-effort because browsers may block sound. When that happens, the generated reply remains available through the same Listen control. Batbot never automatically speaks its welcome message.
Choose either the default male or female ASAT voice. ASAT is optimized for Moroccan Darija and Arabic. Its normal language-identification and Rescript preprocessing applies to other supported scripts.
The optional speech object is accepted when creating or patching a chatbot:
{ "speech": { "mode": "on_demand", "voice": "female" } }
mode accepts off, on_demand, or autoplay. voice accepts male or female. Existing Batbots default to off, so this release does not introduce unexpected audio or charges.
When spoken replies are enabled, a successful Batbot chat response includes a short-lived speech token bound to that exact answer and Batbot. The public speech route requires both the existing widget session and this answer token. Tokens are single-use for generation, rate-limited by Batbot, domain, and client address, and cannot be changed to synthesize arbitrary owner-billed text.
The browser caches the returned audio for replay during the current conversation. Replaying cached audio does not call ASAT again. Audio responses use private, no-store and are never added to Khizana.
All calls use the encrypted credential created for the Batbot or its attached Khizana and appear in the existing usage and billing ledger.
The Batbot loader grants its iframe microphone and autoplay capabilities, follows the host page language and direction, and never exposes the owner API key. Allowed-domain checks still apply before an embedded widget session is issued.