# Tips for Hebrew-first assistants

> A complete Hebrew assistant, setting by setting: recognition that keeps English words, instructions written for the ear, numbers and dates read the way Israelis say them, grammatical gender, the AI disclosure, and a test call to read back.

Most voice AI is built for English and translated. Israeli callers notice: numbers read as digits, English brand names mangled, a voice that speaks as a man and a woman in the same sentence. This recipe puts together an assistant built for Hebrew from the start, and the habits that keep it sounding natural. The settings themselves are explained in [tips for Hebrew](https://docs.morevoice.ai/guides/assistants/#tips-for-hebrew); here they work together.

## The assistant

```ts title="assistant.ts"
// A Hebrew-first assistant: every setting that matters for Hebrew callers, in one place.
import MoreVoice from "@morevoice/sdk";

const mv = new MoreVoice(); // reads MOREVOICE_API_KEY

const assistant = await mv.assistants.create({
	name: "Ramat Gan Insurance: claims line",
	language: "he",
	// The first sentence says it's an AI, and is written for the ear: no abbreviations, no digits.
	first_message: "שלום, הגעתם לביטוח רמת גן. מדברת הנציגה הדיגיטלית. במה אפשר לעזור?",
	end_call_message: "תודה שפניתם, יום טוב.",
	system_prompt: [
		"You answer the claims line of Ramat Gan Insurance. Speak Hebrew; switch to English only if the caller does.",
		"You speak as a woman (feminine verbs and adjectives, to match the voice). Address the caller in neutral forms",
		"(plural, or 'אפשר'/'ניתן'), until you know how they speak about themselves.",
		"Keep every answer to one or two short sentences. No lists, no markdown, no emoji.",
		"Write what you say for the ear: numbers, dates and amounts in words; never abbreviations like ד״ר or מס׳.",
		"Read a policy number or an ID number back in groups of two or three digits and ask the caller to confirm it.",
		"Dates: day of the week, then day and month ('יום שלישי, השלושה בדצמבר'). Times: 'בעשר וחצי', not '10:30'.",
		"Amounts: 'אלף מאתיים חמישים שקלים', with agorot only when they matter.",
		"Keep English brand and product names in English, and don't translate the caller's English words.",
		"If you didn't understand, ask once in different words; the second time, offer a person.",
	].join("\n"),
	transcriber: {
		language_hints: ["he", "en"], // callers mix in English: emails, brands, product names
		terms: ["ביטוח רמת גן", "פוליסה", "תביעה", "שמאי", "השתתפות עצמית", "מקיף", "צד ג׳", "Ramat Gan Insurance"],
		context: "An insurance company's claims line. Callers report car and home claims and ask about their status.",
	},
	advanced: {
		start_speaking_plan: { on_number_seconds: 1.2 }, // callers dictate numbers in groups, with pauses
		stop_speaking_plan: { num_words: 2 }, // "כן", "אהה" while listening don't cut the assistant off
	},
	tools: { end_call: true, get_current_time: true, transfer_call: { destination: "queue:claims" } },
});
console.log(`ASSISTANT_ID=${assistant.id}`);
```

## What each part does

**Recognition keeps English.** Israelis mix English into Hebrew all the time: e-mail addresses, product and brand names, "OK", "upgrade". `language_hints: ["he", "en"]` lets both through. `terms` teaches recognition the words it can't know (your company's name, product names, professional terms like השתתפות עצמית), and `context` tells it what the calls are about.

**Instructions in English, speech in Hebrew.** The model follows instructions in either language, and many teams keep them in English to share with colleagues. Everything said word for word (`first_message`, `end_call_message`, campaign first messages) is written in Hebrew, for the ear.

**Write for the ear.** What the assistant says is spoken, not read. Ask for spoken forms in the instructions, and use them yourself in fixed messages:

| Instead of | Write | Why |
| --- | --- | --- |
| `10:30` | בעשר וחצי | Times are said in words |
| `3/12` | יום שלישי, השלושה בדצמבר | The day of the week first, the way people confirm appointments |
| `₪1,250` | אלף מאתיים חמישים שקלים | Symbols and digits get read oddly |
| `ד״ר לוי`, `מס׳` | דוקטור לוי, מספר | Abbreviations are read letter by letter, or skipped |
| `www.example.co.il` | אקזמפל נקודה קו נקודה איי אל | Spell out what the caller has to type |

**Numbers in groups, read back.** Callers dictate ID numbers and policy numbers in groups of two or three digits, with pauses. `on_number_seconds: 1.2` gives them time between groups, and the instructions make the assistant read the number back in groups and ask for a confirmation. Never let it act on a nine-digit number it didn't confirm.

**One gender, on purpose.** Hebrew verbs and adjectives have gender, and a mismatch with the voice stands out at once. Pick the gender that matches the voice ("מדברת", "בודקת") and say so in the instructions. For the caller, neutral forms (plural, or "אפשר" and "ניתן") until the caller's own speech shows how they refer to themselves.

**Say it's an AI, in the first sentence.** "מדברת הנציגה הדיגיטלית" tells the caller at once, without a disclaimer that sounds like a lawyer wrote it. Marketing calls must disclose it, and campaigns can play a fixed [disclosure](https://docs.morevoice.ai/guides/compliance/#disclosure) before the first message.

**Let it be interrupted, but not by "כן כן".** Israeli callers say "כן", "אהה" and "בסדר" while they listen. `num_words: 2` means one of those doesn't stop the assistant mid-sentence, while a real interruption still does.

> **Short beats complete**
>
> One or two sentences per turn. On the phone, a list of five options sounds like a recording; offer two, and ask.

## Try it

Place a test call and read the transcript, the quickest way to hear Hebrew problems with your eyes: digits where words should be, English words that came out as Hebrew, a wrong gender.

```ts title="try-it.ts"
// Listen with your eyes: place a test call and read what was said. +972500000001 answers on the virtual carrier and a
// simulated caller talks to the assistant; nothing is dialled or billed.
import MoreVoice from "@morevoice/sdk";

const mv = new MoreVoice(); // a test key: mv_test_sk_…

const call = await mv.calls.create({ to: "+972500000001", assistant_id: process.env.ASSISTANT_ID!, purpose: "service" });
const ended = await mv.calls.waitUntilEnded(call.id, { timeoutMs: 5 * 60_000 });
console.log(`${ended.end_reason}, ${Math.round((ended.duration_ms ?? 0) / 1000)} s`);

const transcript = await mv.calls.retrieveTranscript(call.id);
for (const s of transcript.segments) console.log(`${s.speaker}: ${s.text}${s.interrupted ? " (interrupted)" : ""}`);
```

```text title="Output"
customer-ended-call, 27 s
assistant: שלום, הגעתם לביטוח רמת גן. מדברת הנציגה הדיגיטלית. במה אפשר לעזור?
customer: שלום, מה השעה עכשיו בבקשה?
…
```

In test mode the caller and the answers are simulated, so test the wording here and the conversation with a real call from the dashboard: listen for the voice's pace on numbers, the pronunciation of your names, and how it sounds when you interrupt it.

## Before going live

- Call it yourself with a noisy background, an accent, and a sentence that mixes in English.
- Read the transcripts of the first real calls: words recognition keeps getting wrong belong in `terms`.
- Check every fixed message aloud: `first_message`, `end_call_message`, idle messages, campaign first messages.
- If callers ask for English, the instructions already allow switching: make sure the voice speaks it well too.
