viora by INCPRITECH

Widget options

The widget is one script, about 9 KB compressed. It loads after your page and never blocks it.

Embed

<script src="https://viora-cloud.depriver-tech.workers.dev/widget.js"
        data-api="https://viora-cloud.depriver-tech.workers.dev"
        data-site="your-site-id" async></script>

Attributes

AttributeDefaultEffect
data-siterequiredYour site id.
data-apithe script's own serverWhere the API is. Needed when the script is served from a CDN.
data-namefrom your profileAssistant name shown to visitors.
data-accentfrom your profileMain colour, e.g. #17B8A8.
data-positionrightleft or right corner.
data-themeautolight, dark, or follow the visitor's device.
data-openfalsetrue opens the chat when the page loads.
data-voicefrom your profileoff hides the microphone on this page.

Control it from JavaScript

viora.open();
viora.close();
viora.ask("What are your prices?");   // opens the chat and asks
viora.talk();                          // opens the chat and starts listening

Useful for a "Chat with us" button anywhere on your page: <button onclick="viora.ask('How do I book?')">.

Voice conversations

Next to the text box is a microphone. Visitors tap it once and talk the way they would on the phone. It's a live voice conversation:

  1. viora listens and notices when they've finished talking. The question appears in the chat.
  2. The answer is written in short, spoken-style sentences, and each sentence is spoken as soon as it's written.
  3. Visitors can talk over viora to interrupt it, or tap the orb.
  4. viora keeps listening until the visitor taps End.

Swahili answers are spoken in viora's natural Swahili voice on every plan (female by default; see Voices). On Starter and Business plans, English answers use viora's natural English voice too (300 and 1,000 answers a month); otherwise English is read by the visitor's device.

Voice needs a website served over https and the visitor's permission to use the microphone; the browser asks once. The voice code loads only when a visitor taps the microphone, so it doesn't slow your page.

Recordings are sent only to turn them into text. They aren't stored. To turn voice off, untick Let visitors talk to viora in your dashboard, set assistant.voice: false in your profile, or add data-voice="off" to the script.

What visitors see

  • A button in the corner; after a few seconds, a one-time greeting.
  • Suggested questions, answers that appear as they're written, and links that open WhatsApp.
  • A microphone for asking out loud, with spoken answers.
  • When viora can't answer: a short form to leave a name and number, and a WhatsApp button.
  • Esc or a click outside closes the chat. Animations are reduced for visitors who ask for less motion.

The widget lives in its own Shadow DOM, so your website's styles don't change it and it doesn't change your website.