Skip to main content

Appearance and language

Everything about how the chat looks and sounds is set in the console; the snippet never changes.

Settings → Workspace.

SettingEffect
Brand colourA hex colour (#0f766e). The bubble, the header, the visitor's messages and the buttons use it. Text on it switches to white or near-black automatically so it stays readable.
LogoAn https:// image URL. Shown as the avatar in the bubble and the header. Square images look best; it is displayed small, so keep it simple.
Chat lookLight (the default), Dark, or Visitor's device, which follows each visitor's own light or dark setting. Your brand colour stays on the header, the bubble and the visitor's messages in both. New chats use it.

The bubble sits bottom-right, above your page. "Powered by Sarthi" is shown under the composer.

Light or dark from your own page​

If your website has its own dark-mode switch, keep the chat in step with it. Either fix it on the script tag:

On the script tag
<script src="https://api.mysarthi.tech/widget/v1.js" data-site-key="ws_acme_7f3a9c" data-theme="dark" async></script>

or switch it live from your toggle:

window.Sarthi.setTheme('dark'); // 'light', 'dark' or 'auto'

What the page sets wins over Settings. Sarthi.setTheme(null) goes back to your Settings choice. See the JavaScript API.

Motion​

New messages rise in, the visitor's own message pops up from the message box, the chat opens with a soft spring from the bubble, and the bubble gives a small nudge when a reply arrives while the chat is closed. Visitors who turn on "Reduce motion" on their device see all of it without animation.

What the visitor reads first​

Front desk.

  • Greeting: the first line of every chat ("Hi, welcome to Acme Logistics! How can I help?").
  • Form: whether to ask for name, email, phone, company before chatting, and whether to show a consent box with your privacy text (Configuration → consent text). Signed-in visitors never see the form.
  • Routing: which role answers, by page, by what the visitor says, by whether they're signed in.

Roles. The header shows the role's name and title ("Meera · Presales · AI assistant"). Each role has its own opening line for public and for signed-in visitors (Welcome back {name}, I'm Meera…), a tone, and the topics it may and may not discuss.

Languages​

Configuration → language settings.

  • Allowed languages: the languages the assistant may reply in: English, Hindi and Hinglish (Hindi typed in English letters, mixed with English words, the way most people type). English and Hindi are on by default; tick Hinglish to answer "mera order kab aayega?" with "Aapka order kal tak pahunch jayega."
  • Policy: match the visitor (reply in the visitor's language when it's one of the allowed ones, otherwise in the first one) or fixed (always the first allowed language).

With match the visitor and all three ticked: "where is my order?" gets English, "mera order kahan hai?" gets Hinglish and "मेरा ऑर्डर कहाँ है?" gets Hindi.

Knowledge works across languages: a question in Hindi or Hinglish can be answered from an English document. The team's own messages are sent as written.

Tone​

Each role has a style: formal or friendly, short or thorough, and whether to match the visitor's technical level. Guardrails add hard lines (topics never to discuss, things never to promise). Test changes in Test chat before publishing: a published change applies to new chats, not to ones already open.