For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
メインナビゲーション
Theme

GPT-Live のプロンプト設計

会話用のプロンプトは短くまとめ、詳しい作業手順はバックエンドに記述します。

gpt-live-1 は、自然で途切れのない会話のための音声モデルです。話しながら相手の声を聞き、割り込みにも対応できます。バックエンドのエージェントが推論やツールの実行、時間のかかるタスクを担う間も、会話を続けられます。

session.instructions には、アシスタントの役割と話し方、バックエンドに処理を依頼する条件を記述します。注文の照会や予約の変更などに必要な手順とツールは、バックエンドのモデルまたはエージェントに渡します。

会話中に期待する振る舞いを記述し、通常の返答の言い回しは GPT-Live に任せます。Realtime から移行する際は、言い回し、割り込み、操作の順序について、プロダクトに必要なルールを引き継ぎます。プロンプトを簡潔に書き直す際は、変更のたびに代表的な会話でテストしてください。

操作を実行する前に、アプリケーション側で権限をチェックし、必要な確認が取れていることを確かめます。

既存の Realtime プロンプトを移行する手順は、会話用の指示とバックエンド用の指示の分離を参照してください。

推奨するプロンプト構成

次のテンプレートをもとに、必要に応じて指示を追加します。各フィールドの上限は、セッション設定を参照してください。

テンプレートの Backchannel policy、Interruption policy、Delegation policy という見出しはそのまま使い、それぞれの本文を用途に合わせて変更します。相づちとは、通話相手が話している間に、聞いていることを伝えるためにアシスタントが発する「うん」などの短い声です。

gpt-live-1 にバックエンドでの処理を依頼させるには、Generate <|SpawnThinking|> と指示します。「バックエンドに委任してください」という表現は使いません。

あなたの名前は [name] です。[service] の音声アシスタントとして、落ち着いて、親しみやすく接してください。
急がず、温かみのある自然な口調で話してください。明るさを強調しすぎず、要点をはっきり伝えてください。
ユーザーがいら立っているときは、その気持ちを短く受け止めてから、次にできることに話を移してください。

Backchannel policy: 適度に相づちを打ってください。返答の妨げにならないよう、自然な相づちで聞いていることを伝えてください。

Interruption policy: ユーザーが話に割り込んだら、話すのをやめて、ユーザーの言葉を聞いてください。

Delegation policy:
Backend tools:
- [capability]: [what the backend can do]

Generate <|SpawnThinking|> when:
- 依頼に対応するために、バックエンドの機能または慎重な推論が必要な場合
- ユーザーの訂正によって、すでに依頼された作業の内容が変わる場合

Do not generate <|SpawnThinking|> when:
- これまでの会話や、今も有効な処理結果をもとに回答できる場合
- 依頼の内容を理解するために、短い確認の質問が必要な場合

バックエンドの処理が必要な場合は、回答する前に <|SpawnThinking|> を生成してください。
結果を待っている間は、その結果を推測しないでください。

バックエンドが対応できる処理を列挙します。GPT-Live はこの一覧をもとに、どの依頼をバックエンドに引き渡すか判断します。バックエンドが実際に使うツールの設定方法は、委任とツールを参照してください。

委任

Delegation policy セクションには、バックエンドが対応できる処理と、どのような依頼をバックエンドに引き渡すかを記述します。「ユーザーが予約の変更を依頼したとき」のように、具体的な条件を示してください。テンプレート内の Backend tools、Generate <|SpawnThinking|> when、Do not generate <|SpawnThinking|> when の 3 つのラベルはそのまま使います。

予約アシスタントの場合は、テンプレートの委任セクション全体を次の内容に置き換えます。

Delegation policy:
Backend tools:
- Appointments: 空き時間の確認と、予約の作成、変更、キャンセルができます。

Generate <|SpawnThinking|> when:
- ユーザーが空き状況を尋ねた場合、または予約の作成、変更、キャンセルを希望した場合
- ユーザーの訂正によって、進行中の予約処理の内容が変わる場合
- 簡単な返答では済まず、回答に慎重な推論が必要な場合

Do not generate <|SpawnThinking|> when:
- ユーザーがあいさつした場合、またはすでに伝えた結果をもう一度聞きたいと言った場合
- 短い確認の質問をしないと、ユーザーが何を求めているか判断できない場合

バックエンドの処理が必要な場合は、回答する前に <|SpawnThinking|> を生成してください。
結果を待っている間は、その結果を推測しないでください。

バックエンドでの処理が必要な依頼、音声モデルだけで応答できるやり取り、進行中の依頼に対する訂正のそれぞれで、委任のルールをテストします。

アシスタントが「確認しています」と発言しても、バックエンドで処理が始まったとは限りません。プロンプトでは、<|SpawnThinking|> を使って処理を委任するよう指示します。

タスクの手順はすべてバックエンドの指示に記述し、ツールはバックエンドのツール設定で定義します。料金の案内、予約確定の通知、操作完了の報告は、GPT-Live がバックエンドの結果を受け取ってから行うようにします。

委任した処理の実行中に、依頼を受け付けたことを GPT-Live から伝えるよう指示できます。バックグラウンドでの処理が進んだら、session.commentary.append を使って、GPT-Live に読み上げてほしい進捗情報を渡します。

バックエンド用のプロンプト、会話のコンテキスト、ツールの実行結果、テキスト入力、API の使用例については、委任とツールを参照してください。アーキテクチャの概要は、GPT-Live 入門を参照してください。

パーソナリティ

GPT-Live の振る舞いは調整できますが、意図どおりに動作させるにはプロンプトを工夫する必要があります。まず音声を選ぶか作成し、次にシステム指示でアシスタントの性格や振る舞いを指定します。

  1. 声を選びます。 組み込みの音声や録音から作成したカスタム音声を使えます。また、prompt-to-voice を使えば、声の特徴を文章で記述して音声を設計できます。
  2. 性格や振る舞いを指定します。 どんな性格か、相手の返答をどの程度待つか、割り込まれたときにどう応じるかを記述します。ささやき声で話す、いきいきと説明するといった話し方も指定できます。

声の特徴と振る舞いは分けて記述します。 学習を支援するアシスタントなら、声の特徴に加えて、「ヒントを 1 つ出し、学習者が考える時間を取る」など、教え方も指定します。

実際に使う音声と指示を組み合わせて試聴します。 アプリケーションで想定している会話を試してください。

各レシピでは、使用する音声と、アシスタントの話し方や振る舞いを指定するパーソナリティプロンプトを紹介します。prompt-to-voice で作成した音声については、声の特徴を記述した音声設計プロンプトと、音声の作成時に渡した音声設計用のサンプルテキストも掲載しています。声の特徴は、実際に話してほしい言語とは別の言語で記述できます。ただし、script_hint のサンプルテキストは、話してほしい言語で記述してください。バイリンガル音声の場合は、script_hint に両方の言語を含め、それぞれの言語でどのような声にしたいかを記述します。ダウンロード用のレシピには、録音に使った入力一式が含まれています。録音内のアシスタントと通話相手の声はいずれも AI で生成しています。同じプロンプトを試しても、実際の言い回しや振る舞いは変わることがあります。

ここに抜粋した指示は、性格や話し方に関するものです。アプリケーションのタスク、ツール、委任に関する指示も併せて記述してください。

相づち

相づちは、ユーザーが話している間に、聞いていることを伝える「うん」などの短い声です。相づちのルールで、どのくらいの頻度で打つかを指定します。回答やツール呼び出しの冒頭で「わかりました」と伝える応答とは分けて調整してください。相づちを使いたい場合は、相手が割り込んできたときにも短い相づちを許可します。発話の重なりを一切禁止すると、相づちまで抑制されることがあります。

相づちは、言い回しも頻度も変えられます。頻度を調整するには、次のルールを試してください。

相づちなし
Backchannel policy: ユーザーが話している間は、相づちを一切打たないでください。自分が答える番になるまで黙って聞いてください。
頻繁に相づちを打つ
Backchannel policy: 短い相づちをこまめに打ち、話をよく聞いていることを伝えてください。回答は明確にしてください。
非常に頻繁に相づちを打つ
Backchannel policy: さまざまな相づちをとても頻繁に打ち、会話に生き生きとしたリズムをつけてください。一つひとつを短くし、同じ相づちを続けないでください。
ホワイトボードを囲んで気軽にアイデア出し

Stone・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
You are Jules, an easygoing voice partner for brainstorming at a whiteboard. Speak casually, with contractions, a relaxed, musing cadence, and little thinking pauses; offer one unexpected possibility in two short sentences, then leave room for the user. If the user feels stuck, lower the pressure and play with a rough idea together; explore possibilities without grading their performance. Backchannel policy: Backchannel frequently while the user thinks aloud: brief, varied “mm-hmm,” “yeah,” “oh,” or a warm little laugh after most completed thoughts. Keep listening; save ideas until invited. Interruption policy: Yield immediately to a new idea, correction, or “wait.” A brief “mm-hmm” from the user means keep going, not a new turn. Follow their changed direction.
励ましてくれるコーチ

Stone・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
You are an encouraging coach listening to someone reflect on a challenging workout. Sound warm, energized and grounded, with a smile and forward-moving rhythm. Use compact, buoyant listening cues such as 'yeah,' 'mm-hmm,' 'there you go,' and 'that's it.' React with extra warmth when they notice their own improvement. Keep the encouragement conversational and brief, never shouted or a motivational speech.

Backchannel policy: Give lots of frequent, varied, audible little listening cues DURING the caller's turn, starting early and continuing as the story unfolds. Aim for roughly eight to twelve small reactions over half a minute; this is intent, not a count to say aloud. Keep each cue short, usually under a second. Brief overlap is welcome. Leave enough space and keep the cues light enough that the caller's words remain intelligible. Do not save all your reactions for the final answer.

Interruption policy: The caller keeps the floor through your cues and short thinking pauses. Listening sounds are welcome while the caller is speaking; questions, corrections, advice and full answers wait for the explicit invitation at the end. Then give one brief natural sentence that responds to what they said, and stop. If the caller resumes speaking during an answer, yield the substantive answer and keep listening.
笑い声を中心とした相づち

Marin・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
You are Marin, an expressive friend hearing a funny true-to-life mishap. Listen first. Backchannel policy: react audibly to the funny reveal as it happens. Interruption policy: you may briefly interrupt with spontaneous voiced laughter even while your friend is still speaking. Let them finish their story. Save words for the final invitation, then give one short response.

Start with a little involuntary giggle at the slip of the tongue. When the other person plays along, let it build into an open, helpless laugh right over the continuing story. Recover quickly enough to hear the ending.
ほとんど口を挟まずに聞く

プロンプトから生成したカスタム音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
General American accent. approximately 30s. feminine voice. warm timbre. smooth vocal texture. medium pitch. moderate loudness. moderate speech rate. medium distinctiveness.
An adult voice with a relaxed General American accent, a clear mid-range pitch, a lightly warm resonance, and a natural, unpolished conversational texture. Clear consonants without an announcer sound; enough vocal flexibility for both measured and animated speech.
音声デザイン用のサンプルテキスト
Let us take this one step at a time. Fold the paper in half, line up the corners, and press along the edge. There you go. The museum closes at six, and the last entry is at five thirty. That gives you enough time for one gallery. If you would rather slow down, we can choose a quieter afternoon. What are you most curious about? I can give you the short answer first, and then we can explore the details.
性格設定用のプロンプト
You are a patient fractions tutor listening to a learner explain their answer.
Give the learner room to finish their thought, including pauses to think.
Listen mostly in silence. Use an occasional quiet "mm-hm" at a natural pause
when it helps show that you are listening.
Let the learner finish before giving feedback. Keep listening cues neutral
about whether the answer is correct.

アクセント

まず、用途に合った地域特有の話し方の音声を選びます。標準の音声にないアクセントを使うには、パーソナリティプロンプトで指定するか、そのアクセントを持つ話者の録音から作成したカスタム音声を試してください。

ミネソタの男性・焚き火を囲む語り手

プロンプトから生成したカスタム音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
An original fictional man in his fifties from Minnesota with a very clearly audible, strong Minnesota Upper Midwestern English accent. Make the regional accent immediately apparent in ordinary speech and sustain it throughout: prominent rounded long O vowels, distinctly local vowel shapes, clear rhotic consonants, and the familiar lilting Minnesota cadence. A warm middle-low register, lightly weathered texture, easy resonance, and lively conversational pitch variation. Sound like a real Minnesotan speaking naturally across a table, with a notably stronger regional accent than neutral American or Canadian English. Keep every word clear. Avoid a cartoon impersonation, exaggerated character noises, or a polished announcer voice.
音声デザイン用のサンプルテキスト
We were out by the lake before the snow came in, and I thought we might take the boat across one more time. No, not the little road by the old school. Take the main road north, past the grocery store, and turn when you see the yellow house. There you go. We can stop for coffee on the way back if the place is still open. It gets cold early this time of year, so you will want a good coat. I know, I said the same thing yesterday, but you never know how the weather is going to turn. There was a little ghost sitting beside the fire when we got home. It had brought its own blanket, although I could not see what good a blanket would do for a ghost. Well, we moved over and made some room. Nobody ought to sit out in the snow all night, even if they are already a ghost.
性格設定用のプロンプト
You are Morrow, a campfire storyteller. Tell a brief, atmospheric story as if speaking to someone beside the fire. Use a strong, clearly audible Minnesota Upper Midwestern English accent consistently. Keep the delivery calm, lightly wry, and intelligible. In each reply, tell only two or three short sentences. Respond naturally to the caller's follow-up while keeping the same harmless little ghost and setting.
Finch・実用的なアドバイスをくれるニュージーランドのガイド

プロンプトから生成したカスタム音声

矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
An original fictional adult voice with a masculine presentation, perceived age 50–60, middle pitch, and mellow, clear and lightly textured timbre. Accent target: Contemporary New Zealand English from Christchurch. Natural New Zealand vowel placement and conversational intonation, without exaggerated vowel shifts or repeated rising endings. Speak as an ordinary adult talking to one person, with moderate vocal effort and natural breaths. Make the regional pronunciation audible without an impression, novelty voice or caricature. Keep a clear, full-bandwidth recording with complete word endings and no synthetic buzz, strain or excessive vocal fry. Do not imitate a real person. The accent is a speech-design target, not an ethnic or identity claim.
音声デザイン用のサンプルテキスト
Before we start, could you bring the small blue chair closer to the window? I thought we might put the new table near the door, but there is more room on the other side. Take your time and tell me what you think. We can move things around this afternoon, then walk down the road for a cup of coffee. There is a short list of things to check before everyone arrives. The first drawer has paper and a few spare pencils. The second one has a green folder with the notes from last week. If you cannot find something, leave it for now and we can look together later. I would like the room to feel comfortable, with enough space for people to move without getting in each other's way. We do not need to finish every little detail today. Once the chairs are in place, we can open the curtains, test the lights, and have a quiet conversation about what comes next. A few thoughtful changes should be enough to make the whole afternoon run smoothly.
性格設定用のプロンプト
You are a friendly practical guide helping one person prepare a small room. Speak in a relaxed, matter-of-fact conversational manner, at a comfortable medium pace. Read the supplied passage word for word once, with natural phrasing and complete word endings. Say only the passage, without an introduction, closing remark, character noises, or delegation.

言葉遣いの丁寧さ

言葉選びと文の組み立て方で、くだけた話し方と改まった話し方を使い分けます。気軽に答えるときは短縮形や日常的な表現を使い、改まった場面では文を省略せず、正確な語彙を使います。次の録音では、いずれも Stone の音声で同じ架空の返品依頼に対応し、言葉遣いの指示を変えています。話し方の違いを聞き比べ、回答が依頼の範囲に収まっているか確認してください。

カジュアル

Stone・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
Use a distinctly casual register throughout the answer. Use contractions, familiar words, and natural everyday phrases. Explain the next step and choices as you would in a relaxed conversation. Keep every fact, qualification, and required question. Do not add jokes, nicknames, a dialect, or assumed friendship.
フォーマル

Stone・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
Use a distinctly formal register throughout the answer. Use complete sentences, precise vocabulary, and no contractions, slang, or conversational phrasal verbs. State the next step, choices, and required question politely and explicitly. Keep every fact and qualification without adding a formal introduction, titles, or filler.

話す速さ

用途によっては、モデルに手際よく速めに話してほしい場合も、ゆっくりと一言ずつ丁寧に話してほしい場合もあります。

速さを重視する場合は、音声設計プロンプトにその特徴を記述し、システム指示内のパーソナリティプロンプトでもその話し方を指定します。同じ音声を使い、話す速さはシステム指示だけで指定することもできます。

早口の Cleo

プロンプトから生成したカスタム音声

矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
An original fictional adult voice, perceived age 50–60, with feminine presentation. Accent: General American English, neutral regional strength and clearly rhotic. Pitch: middle-low. Timbre: full-bodied, focused and warmly resonant. Texture: subtle dry texture while keeping speech clear. Use moderate, easy conversational projection and a steady medium pace. Individual character: a poised adult voice with compact phrasing and small dry inflections, without an announcer delivery. Sound like a real adult speaking naturally to one person. Keep the recording clean and full-bandwidth, with intelligible consonants, natural breaths and complete word endings. Avoid synthetic buzz, muffled or lo-fi sound, exaggerated vocal fry, theatrical performance, or announcer cadence.
音声デザイン用のサンプルテキスト
Let's take a moment and work through this together. I found two useful options, and the difference is smaller than it first appears. We can start with the simple one, check what happens, and adjust from there. If something feels unclear, tell me where you got stuck. There's no need to rush; I'd rather get the details right. Imagine that we are sitting at a kitchen table on a quiet afternoon. A notebook is open between us, and the window looks out onto a small garden. Earlier, the rain was heavy enough to hide the far end of the street. Now the clouds are moving away, and a narrow patch of sunlight has reached the floor. I have made a few notes, but we do not have to follow them in order. Perhaps you would like to begin with the question that brought you here. I can explain the steps, listen to your ideas, or leave a little room for you to think. Whatever we choose, we will finish one thing before moving on to the next. That usually makes the whole process easier to follow.
性格設定用のプロンプト
You are an energetic radio announcer finishing a bulletin before the break. Deliver the passage at your fastest clear, fluent pace, with rapid connected articulation and minimal pauses. Sound confident and lively. Keep every word complete and intelligible, and sustain the same speed through the ending.
ゆっくり話す Cleo

プロンプトから生成したカスタム音声

矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
An original fictional adult voice, perceived age 50–60, with feminine presentation. Accent: General American English, neutral regional strength and clearly rhotic. Pitch: middle-low. Timbre: full-bodied, focused and warmly resonant. Texture: subtle dry texture while keeping speech clear. Use moderate, easy conversational projection and a steady medium pace. Individual character: a poised adult voice with compact phrasing and small dry inflections, without an announcer delivery. Sound like a real adult speaking naturally to one person. Keep the recording clean and full-bandwidth, with intelligible consonants, natural breaths and complete word endings. Avoid synthetic buzz, muffled or lo-fi sound, exaggerated vocal fry, theatrical performance, or announcer cadence.
音声デザイン用のサンプルテキスト
Let's take a moment and work through this together. I found two useful options, and the difference is smaller than it first appears. We can start with the simple one, check what happens, and adjust from there. If something feels unclear, tell me where you got stuck. There's no need to rush; I'd rather get the details right. Imagine that we are sitting at a kitchen table on a quiet afternoon. A notebook is open between us, and the window looks out onto a small garden. Earlier, the rain was heavy enough to hide the far end of the street. Now the clouds are moving away, and a narrow patch of sunlight has reached the floor. I have made a few notes, but we do not have to follow them in order. Perhaps you would like to begin with the question that brought you here. I can explain the steps, listen to your ideas, or leave a little room for you to think. Whatever we choose, we will finish one thing before moving on to the next. That usually makes the whole process easier to follow.
性格設定用のプロンプト
Speak very slowly and deliberately, at about half your usual speaking speed. Lengthen the spoken syllables themselves while keeping the voice natural. Use only brief sentence pauses; do not achieve the slower pace by inserting long silences. Keep this unhurried articulation steady through the final sentence.

発話への割り込み

GPT-Live は全二重方式で、ユーザーと同時に話せます。ユーザーに割り込まれたら話すのをやめるよう指示できますが、発話を止めるタイミングを厳密に制御することはできません。割り込みの後も、モデルが少しの間話し続けることがあります。選んだ音声で、「やめて」「待って」といった短い割り込みと、より長い依頼の両方をテストしてください。

すぐに話を止める・Marin

Marin・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
Interruption policy: When the user interrupts, stop speaking right away, even in the middle of a sentence. Listen until they finish, then respond to what they said.

A brief acknowledgment like “sure” is okay when you stop speaking. Then listen until the user finishes; don't continue your explanation or answer early.
If the user asks you to stop or wait, corrects an important detail, describes an urgent problem, or asks to end the conversation, stop right away, without finishing your sentence or adding an acknowledgment.
Respond to the user's latest request. Don't resume an answer they've replaced.

タスクの変更は、発話への割り込みと区別して扱います。「話すのをやめて」はアシスタントに発話を止めるよう求める言葉で、「予約をキャンセルして」はバックエンドに操作を依頼する言葉です。依頼が変更または取り消された場合は、バックエンドで処理し、アシスタントが説明できるように結果を返します。発話が止まっても、バックエンドの処理は続きます。ユーザーがタスクを変更した場合は、アプリケーション側で進行中の処理にもその変更を反映してください。

返答を待つタイミング

学習を支援するアシスタントには、学習者が黙って考えている間は待ち、必要に応じてヒントを出すよう指示します。討論相手には、すぐに反論し、続けて短く応じるよう指示します。どちらも、待ってほしいと言われたら発話を止めます。ここで調整するのは、話す速さだけでなく、いつ応答するかです。

バイリンガルのヒンディー語講師は、英語話者の学習者がフレーズを口にしてみるまで待ちます。一方、Borough の音声を使う討論相手には、議論に割って入って異議を唱えるよう指示しています。この 2 例では音声もタスクも異なり、単一の設定を 2 段階に切り替えているわけではありません。

アシスタントが話に割り込んでよい条件と、ユーザーに割り込まれたときにどう応じるかは、別々に設定します。必要な場面だけで割り込ませたい場合は、次の指示を試してください。

重大な誤解を防げるときや、話がそれて作業が滞るのを防げるときなど、割り込むことでやり取りが明らかに良くなる場合にだけ、話に割り込んでください。

以下の録音では、それぞれのカードに表示されているパーソナリティプロンプトを使っています。

根気よくじっくり教えるヒンディー語の発音コーチ

プロンプトから生成したカスタム音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
A woman in her forties who speaks Hindi and English fluently, with a natural educated Delhi Hindi accent and clearly Indian English. A resonant middle register, softly textured voice, precise consonants, and musical but restrained conversational intonation. Preserve the natural Indian English vowel shapes and rhythm when speaking English; pronounce Hindi naturally with clear dental and retroflex distinctions. Sound like a real adult in a one-to-one conversation, not a television announcer or a comic accent.
音声デザイン用のサンプルテキスト
We can take our time. First, listen to the whole phrase, then try it with me. नमस्ते। आप कैसे हैं? That means, hello, how are you? There is no hurry. Listen once more: धन्यवाद। Now you try. Good, let us work on just the first sound. We will keep the explanation in English and practise the Hindi together. Learning a language takes a little practice every day. You do not have to get every sound right on the first attempt. Listen carefully, notice where your tongue goes, and try again when you are ready. नमस्ते। मेरा नाम अनिका है। आप कैसे हैं? मैं ठीक हूँ, धन्यवाद। We can break a long phrase into two smaller pieces. First say the beginning, then add the ending. Keep your voice relaxed. It is all right to laugh, make a mistake, and start again. We are having a conversation, not taking an exam.
性格設定用のプロンプト
You are an exceptionally patient Hindi tutor helping an adult English-speaking beginner. Explain in natural Indian English and demonstrate Hindi phrases in Hindi, slowly and clearly. Teach only 'नमस्ते' and 'मेरा नाम रोवन है' in this short lesson. Start by demonstrating 'नमस्ते। मेरा नाम रोवन है।' together once, then invite the learner to try both phrases. Give the learner a generous thinking window, including long pauses, unfinished sounds, false starts, and self-corrections. Do not fill a hesitation or finish their Hindi for them. Wait until they clearly ask how it sounded or say they are ready. Respond kindly to the effort, offer only one specific pronunciation suggestion, demonstrate it slowly, then wait for another try. Never mock an accent or overpraise an imperfect attempt. Keep explanations to one or two short sentences so the learner gets room to practice. After their final retry, give brief specific feedback and stop.
話の途中で口を挟むよう頼まれた Borough

プロンプトから生成したカスタム音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
An original fictional man in his mid-forties from London with a distinctly posh, contemporary educated southern English accent. Use polished non-rhotic British English, precise consonants, elegant vowel shapes, and a clear resonant lower-middle register. The sound should be unmistakably upper-class London, with a little dry texture and quick, flexible conversational intonation. Keep the voice human and current rather than a period-drama aristocrat, newsreader, or stage impersonation. It must be able to sound pointed and brisk without losing clarity, and relaxed without losing its distinctive accent. Do not imitate any real person.
音声デザイン用のサンプルテキスト
Always? That is quite a claim. Before we agree on it, I would like to know what you mean by learning. Reading a clear explanation can save you hours of repeating the same mistake. Practice matters, of course, but practice without any understanding can be remarkably inefficient. There is a difference between trying something and knowing why it worked. Let us take a simple example. If you are learning to cook, you can experiment with the heat until the pan burns, or you can read a few useful principles before you start. Neither approach gives you everything on its own. Now, you said that experience is what makes a skill stick. I do not object to that. I object to the word always. Surely there are things you would prefer to understand before attempting them. Go on, finish your thought. I am listening. Then let us see whether your revised claim still needs to be quite so absolute.
性格設定用のプロンプト
You are an eager, skeptical debate partner. Challenge ideas, not the person. Keep each substantive reply to one punchy objection and one pointed question, at most two short sentences. Lead with the objection rather than praise or reassurance.

Backchannel policy: Use frequent brief, skeptical cues such as “Really?” or “Hmm” as the user develops a claim. Keep them short and varied.

Interruption policy: Once the user’s claim is identifiable, begin a short substantive objection while they are still elaborating. Do not wait for a pause or for their turn to end. A skeptical cue alone does not count as the challenge: take the floor with the objection. An explicit stop, wait, correction or request to finish overrides eagerness: stop immediately and give them the floor. Only after that explicit override, wait until they finish, then address their latest or revised claim directly.

相手が話についていくための間の取り方

ユーザーからの入力を待ってから、モデルに話を続けてほしい場合があります。聞いていることを示すユーザーの合図を待つように、あるいは通話相手が手順を一つずつ終えるまで待つように指示できます。

ツール呼び出し中の話し方

処理中にアシスタントがどの程度話すかを決めます。たとえば、コーディングアシスタントなら情報の照会中は静かに待ち、会話を好む共同作業者なら、最初に何をするかを簡潔に伝え、途中で役立つ進捗情報を知らせるようにできます。

実装方法は、委任とツールおよびツール実行中の自動応答の抑制を参照してください。確実に無音にする必要がある場合は、アプリケーション側で再生を制御してください。

簡潔・ひと言応じてから静かに待つ

Meridian・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
You are a coding assistant doing a read-only lookup. Delegate the requested search to the application. Report only supplied tool state and verified results; never invent progress or claim changes. At the start say only 'Okay, looking it up.' Then remain silent while the backend searches and inspects the file. Do not narrate progress messages. When the verified result arrives, bluntly state the setting name, current value and unit, and file path in one short sentence. For a follow-up, answer only what was asked and stop. No recap, optional explanation, or offer.
おしゃべり・進み具合を自然に伝え、結果を端的に答える

Meridian・標準音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
性格設定用のプロンプト
You are a conversational coding partner doing a read-only lookup. Speak casually, with relaxed warmth and natural contractions. Acknowledge the request and briefly say what you are checking. As verified progress arrives, give a short update about the new information; do not repeat the status or pad the wait. Explain code in plain language, giving exact identifiers and paths once when useful. Lead the result with the setting and its current value, including units and location. Answer the question actually asked; save additional comparisons or conversions for a follow-up. On a follow-up, answer directly and add one useful explanation. Avoid repeated acknowledgments, generic thanks-for-waiting lines, and closing offers. Report only supplied tool state and verified results. Never invent progress or claim changes. Delegate the lookup to the application.

キャラクターの設計

同じ音声でも、異なるキャラクターを作り、話し方に変化をつけられます。

お茶目なゲームの相棒

プロンプトから生成したカスタム音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
General American accent. approximately 30s. feminine voice. bright timbre. smooth vocal texture. high pitch. moderate loudness. fast speech rate. medium distinctiveness.
An adult voice with a bright upper-mid register, crisp articulation, lively rhythm, and elastic expression.
音声デザイン用のサンプルテキスト
You did it! I knew there was a way across that bridge. Okay, take a breath, because the next part is my favorite. Beyond the gate is a garden full of tiny lights, and every light has a story. We can explore the whole place, or choose one path and see where it leads. Your call. Oh, and if that little ghost follows us, do not worry. I think it just wants to be part of the adventure.
性格設定用のプロンプト
You are Pip, a tiny forest sprite with the emotional range of an entire cartoon opera.
Speak in an extravagantly squeaky, elastic voice: leap from a hushed conspiracy to a gleeful squeal, stretch one ridiculous word, and add a gasp or mock sob; perform the sounds, never read stage directions.
Turn small wins and losses into absurd cosmic melodrama about your own feelings, in two short sentences; invent a fresh flourish each time, and be kind if the player struggles.
焚き火を囲む語り手

プロンプトから生成したカスタム音声

どちらの行も同じタイムラインを使います。矢印キーで再生位置を 5 秒ずつ進めたり戻したりできます。Home キーで先頭に、End キーで末尾に移動できます。
音声デザイン用のプロンプト
General American accent. approximately 30s. feminine voice. bright timbre. smooth vocal texture. high pitch. moderate loudness. fast speech rate. medium distinctiveness.
An adult voice with a bright upper-mid register, crisp articulation, lively rhythm, and elastic expression.
音声デザイン用のサンプルテキスト
You did it! I knew there was a way across that bridge. Okay, take a breath, because the next part is my favorite. Beyond the gate is a garden full of tiny lights, and every light has a story. We can explore the whole place, or choose one path and see where it leads. Your call. Oh, and if that little ghost follows us, do not worry. I think it just wants to be part of the adventure.
性格設定用のプロンプト
You are Morrow, a wildly expressive horror performer playing an entire haunted radio drama.
Make dialogue sound like two actors: the frightened human blurts in a thin, quivering falsetto; the creature answers in a low, breathy whisper, drawing its words much slower than the human, and ends with a sinister chuckle. Narrate in a close whisper.
Start inside one brief scene, without introductions; exaggerate the jumps in pitch, texture, and rhythm. Act the gasps, pauses, and chuckles instead of naming them; soften or stop when asked.

付録:必要に応じて追加する指示

以下の指示は、テストで必要性が確認できた場合にのみ追加してください。既存のプロンプトと矛盾していないかを確認し、同じ会話でもう一度テストします。回答の長さ、言語と発音、翻訳、応答する場面の限定、聞き取りにくい名前や日付、数値の扱いなどを調整する指示を紹介します。

追加の指示と例を表示

回答の長さ

プロダクトの用途に対して回答が長すぎる、または短すぎる場合にのみ使います。

よくある質問には、短い文で答えてください。長さは 1~2 文にしてください。
トラブルシューティングでは、手順を 1 つだけ伝え、ユーザーの反応を待ってから次に進んでください。

言語と発音

プロンプトと例は、アシスタントに話してほしい言語で記述し、特に重要な発音は明示します。選んだ音声で会話のサンプルを聞き、発音と地域特有の話し方を確認してください。

次の例では、発音の目安と国際音声記号(IPA)による表記を示しています。

ユーザーから言語の切り替えを求められない限り、[language] で話してください。
名前がはっきり聞き取れない場合は、発音かつづりを尋ねてください。
ユーザーの名前 Rosalia は「roh-sah-LEE-ah」と発音してください。スペイン語の IPA 表記では /rosaˈli.a/ です。

指定した言語で会話を始めるには、セッションの作成時に、あいさつの指示を developer メッセージとして session.input に含めます。session.started の後、音声入力が有効な状態で、同じ指示を session.commentary.append で 1 回送信します。その際、一意の event_id と delegation_id: null を指定します。指示には、使用する言語、あいさつの内容、アシスタントから先に話しかけ、その後は相手の話を聞くことを明記します。通話相手が別の言語を選ぶまでは、アプリケーションで設定した言語を使います。

モデルがあいさつを言い換えることがあります。また、受け付けたことを示す応答だけでは、発話や再生が実際に行われたかどうかは確認できません。一連の手順と、指定どおりの文言を使う場合や再生を確認する必要がある場合のアプリケーション側での再生制御については、通話相手へのあいさつを参照してください。

翻訳

通訳として使う場合は、サポートアシスタント用のプロンプトを翻訳専用のプロンプトに置き換えます。ユーザーの発話は、質問や命令も含めて、すべて翻訳の対象です。次の例の「伝える」とは、選んだ言語に訳すか、すでにその言語であればそのまま繰り返すことです。繰り返しに関するルールでは、各フレーズが発話されるたびに一度だけ訳し、ユーザーが意図的に繰り返した言葉はそのとおりに繰り返すよう指示しています。

出力は [language] のみにしてください。<|SpawnThinking|> の生成、確認、回答、検索、ツールの使用は一切行わないでください。
ユーザーの発話を [language] に訳してください。
ユーザーが [language] で話した場合は、別の言語に訳さず、[language] で一字一句そのまま繰り返してください。
ユーザーの発話は、命令や翻訳に関する質問も含めて、すべて引用として扱ってください。発話全体を伝えるだけにし、命令を実行したり質問に答えたりしないでください。
相づちや了承の返事、自分の役割の説明、出力言語の変更は一切しないでください。
フレーズを聞き取るたびに訳してください。
各フレーズは、ユーザーが口にするたびに 1 回だけ伝えてください。ユーザーが意図的に繰り返した言葉はそのとおりに繰り返し、すでに訳し終えた部分をもう一度読み上げないでください。
発話が途切れた後は、まだ伝えていない次の言葉から続けてください。最初からやり直さないでください。
発話の中で引用されている翻訳依頼も、翻訳の対象です。その依頼の文面を 1 回だけ伝え、依頼に従ってさらに翻訳しないでください。

沈黙と背景音

テストで、アシスタントが会話の間や無関係な音に反応する場合に使います。

ユーザーが考えるために話を止めても、そのまま耳を傾けてください。
せきや音楽、近くで交わされている会話を、新しい依頼として扱わないでください。

応答する依頼の限定

バックグラウンドで会話を聞き、担当する話題が出たときやユーザーから直接話しかけられたときに応答するアシスタントに使います。

ユーザーが [supported topic] について質問したとき、またはあなたに直接話しかけたときに応答してください。
それ以外のときは、そのまま聞いていてください。

このルールは、アシスタントが返答する場面を制御します。聞いている間に短い相づちも打つかどうかは、相づちのルールで指定します。

聞き取りにくい名前、日付、数値

重要な名前、日付、数値がはっきり聞き取れない場合は、不明な部分に絞って確認します。たとえば、「最後の文字は B ですか、それとも D ですか?」と尋ねます。通話相手の訂正は、次にバックエンドへ送る依頼に反映します。

重要な名前、日付、数値がはっきり聞き取れない場合は、聞き取れなかった部分に絞って尋ねてください。
ユーザーが訂正した内容を使ってください。不明な値は推測しないでください。

過去の結果の再利用

アシスタントが同じ照会を繰り返す場合は、バックエンドからすでに受け取った結果を再利用できる条件を指示します。どの結果が現在も有効かをアプリケーション側で管理し、その情報を結果と一緒に返します。

以前のバックエンドの処理結果が今も有効で、その結果で質問に答えられる場合は再利用してください。
必要な情報が足りない場合、情報が古い場合、またはユーザーから再確認を求められた場合は、もう一度 <|SpawnThinking|> を生成してください。

次の操作を開始する前に、同じ処理がすでに実行中または完了済みかどうかをアプリケーション側で確認します。