GPT-Live 可以边说边听,也可以在后端智能体调用工具或处理任务时继续与用户交谈。
使用 session.instructions 指定助手的角色、说话风格,以及何时向后端求助。对于查询订单、修改预约等任务,请为后端模型或智能体提供相应的操作流程和工具。
描述您希望助手在对话中如何表现,让 GPT-Live 自行决定常规回复的措辞。从 Realtime 迁移时,请保留产品对措辞、打断处理和操作顺序的要求。在修改提示词的过程中,使用有代表性的对话测试简化后的版本。
应用在执行操作前负责检查权限,并核实是否已获得必要的确认。
要改写现有的 Realtime 提示词,请参阅拆分对话指令与后端指令。
推荐的提示词结构
为 gpt-live-1.1 编写提示词时,可以从以下模板开始。用通俗的语言说明何时将任务交给后端。有关字段限制,请参阅会话配置。
保留模板中的 Backchannel policy、Interruption policy 和 Delegation policy 标题,并根据需要修改各标题下的内容。倾听反馈是指来电者还在说话时,助手用“嗯嗯”等简短的声音表示自己在听。
如果使用 gpt-live-1,请在下方提示词中将“将任务委派给后端”替换为
Generate <|SpawnThinking|>,将“不要委派”替换为
Do not generate <|SpawnThinking|>。
以 [name] 的身份担任 [service] 的语音助手,态度沉着、友好。
说话亲切自然,语速不急不慢。表达清楚直接,避免过分热情。
如果用户感到沮丧,先简短表示理解,再着重说明下一步可以怎么做。
Backchannel policy: 适度给出倾听反馈。自然地表示自己在听,避免干扰主要回复。
Interruption policy: 用户打断时,停止说话,听对方说。
Delegation policy:
Backend tools:
- [capability]: [what the backend can do]
遇到以下情况时,将任务委派给后端:
- 处理请求需要用到后端功能或进行仔细推理。
- 用户的更正改变了先前要求处理的任务。
遇到以下情况时,不要委派:
- 根据对话内容或仍然有效的结果就能回答。
- 需要先简短追问,才能弄清用户的请求。
如果回答依赖后端处理结果,请先将任务委派给后端,再作答。
等待期间不要猜测结果。
列出后端支持的功能。GPT-Live 会根据这份清单判断哪些请求需要交给后端。要配置后端实际使用的工具,请参阅任务委派与工具。
任务委派
在 Delegation policy 一节中,列出后端支持的功能,以及哪些请求应交给后端处理。条件要具体,例如“用户要求修改预约”。
如果您在构建预约助手,请将起始模板中的整个委派部分替换为以下内容:
Delegation policy:
Backend tools:
- 预约:查询可预约的时段,创建、修改或取消预约。
遇到以下情况时,将任务委派给后端:
- 用户询问哪些时段可以预约,或希望创建、修改或取消预约。
- 用户的更正改变了正在处理的预约任务。
- 简单回复不足以回答问题,需要仔细推理。
遇到以下情况时,不要委派:
- 用户打招呼,或要求重复已经告知的结果。
- 需要先简短追问,才能弄清用户的请求。
如果回答依赖后端处理结果,请先将任务委派给后端,再作答。
等待期间不要猜测结果。
用三类情况测试委派策略:需要后端处理的请求、语音模型可以直接回应的对话,以及对进行中任务的更正。
助手口头说“我正在查”,并不能证明后端已经开始处理。
将完整的任务流程写入后端指令,并在后端的工具配置中定义工具。让 GPT-Live 等到后端返回结果后,再报出价格、确认预约或告知用户操作已完成。
您可以在提示词中要求 GPT-Live 在后端处理任务期间告诉用户已收到请求。随着后台任务推进,使用 session.commentary.append 提供您希望 GPT-Live 向用户播报的进展。
有关后端提示词、对话上下文、工具结果、文本输入和 API 示例,请参阅任务委派与工具。有关架构概览,请参阅 GPT-Live 入门指南。
上下文与逐字朗读
使用 session.thinking.append 向 GPT-Live 提供无需说出口的背景信息。用简洁的自然语言编写内容,只发送模型在当前对话中需要的事实。一次更新过多上下文可能使模型更容易产生幻觉,因此请先概括 JSON 或 Markdown 表格等结构化数据,再将摘要发送给模型。
如果需要模型逐字朗读问候语或法律声明,请发送 session.instructions.append,并附上指令 Read the following exactly, without an introduction or explanation: <say>[text to read]</say>。如果允许模型用自己的话播报进展,请使用 session.commentary.append。请检查实际的语音输出。如果要求措辞完全一致,或需要核实内容已播出,请使用由应用控制的播放功能。有关事件格式,请参阅播报声明。
个性
您可以引导 GPT-Live 的表现,但需要仔细设计提示词。先选择或创建一个声音,再通过系统指令塑造助手的个性和行为:
- 选择声音。 您可以使用内置声音、根据录音创建的自定义声音,也可以使用提示词生成声音功能,根据描述设计声音。
- 塑造个性和行为。 描述助手的性格、耐心程度,以及它应如何应对打断。您还可以指导它如何表达,例如用耳语说话,或生动活泼地讲解。
分别描述声音和行为。 对于辅导老师,既要说明声音应有什么特点,也要说明它应如何教学,例如先给一条提示,再留出时间让学习者思考。
试听声音与指令搭配后的实际效果。 在您的应用会遇到的对话场景中试用这套组合。
每个配置示例都列出了所选声音和个性提示词,后者用于指导助手如何说话和行动。如果声音是通过提示词生成的,示例还会列出声音设计提示词和声音设计示例文本。前者描述声音听起来是什么样的,后者是创建声音时提供的文本。您可以用与目标输出语言不同的语言描述声音,但 script_hint 中的示例文本应使用您希望助手说的语言。如果要创建双语声音,请在 script_hint 中提供两种语言的文本,并描述助手说每种语言时应有的声音特点。下载示例配置可获取制作录音时使用的完整输入。录音中的助手声音和来电者均由 AI 生成。您试用提示词时,具体措辞和表现可能有所不同。
这些摘录只涵盖个性和表达方式。请同时保留应用中有关任务、工具和委派的指令。
倾听反馈
用户说话时,助手可以用“嗯嗯”等简短的声音表示自己在听。使用倾听反馈策略说明您希望助手多久给出一次反馈。请将这类反馈与助手在开始回答或调用工具时说的“明白了”等确认语分开设置。如果您希望听到倾听反馈,请允许助手在被打断时发出简短的倾听声。禁止双方同时出声的规则可能会让这类反馈消失。
您可以调整倾听反馈的内容和频率。要改变频率,可以尝试以下策略。
不发出倾听反馈
Backchannel policy: 用户说话时,不要发出任何表示倾听的声音。完全禁止倾听反馈,轮到回答时再开口。频繁
Backchannel policy: 经常用简短的声音表示自己在认真听,同时确保回答清楚。非常频繁
Backchannel policy: 非常频繁地给出倾听反馈,让对话的节奏轻快活泼。每次都要简短,注意变化,避免重复。Stone · 标准音色
个性提示词
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 · 标准音色
个性提示词
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 · 标准音色
个性提示词
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.
根据提示词生成的自定义音色
音色设计提示词
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.
口音
先选择一个地域特色符合您使用场景的声音。如果标准声音没有涵盖您需要的口音,也可以在个性提示词中指定口音,或试用根据带有这种口音的说话者的录音创建的自定义声音。
根据提示词生成的自定义音色
音色设计提示词
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.
根据提示词生成的自定义音色
音色设计提示词
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 · 标准音色
个性提示词
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 · 标准音色
个性提示词
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.
语速
根据使用场景,您可能希望模型说话简洁明快,也可能希望它放慢语速,从容表达。
如果希望助手说得快些,请在声音设计提示词中描述所需语速,并在系统指令的个性提示词中再次强调这种说话方式。您也可以沿用同一个声音,只在系统指令中规定语速。
根据提示词生成的自定义音色
音色设计提示词
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.
根据提示词生成的自定义音色
音色设计提示词
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 · 标准音色
个性提示词
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 辩论伙伴则会按照提示词的要求插话提出异议。这两个示例使用了不同的声音,执行的任务也不同,并非同一项设置的两个档位。
请分别规定助手何时可以打断用户,以及用户打断助手时它应如何停下来听。如果您希望助手只在特定情况下插话,可以试用以下指令:
只有在插话确实有助于交流时才打断用户,例如能避免重大误解,或防止对话偏离当前任务。
以下录音各自使用的个性提示词显示在对应的卡片上。
根据提示词生成的自定义音色
音色设计提示词
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.
根据提示词生成的自定义音色
音色设计提示词
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 · 标准音色
个性提示词
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 · 标准音色
个性提示词
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.
塑造角色
即使使用同一个声音,您也可以塑造不同的角色,并改变它们的表达方式。
根据提示词生成的自定义音色
音色设计提示词
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.
根据提示词生成的自定义音色
音色设计提示词
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.
附录:可选控制项
仅当测试表明有需要时才添加这些指令。检查它们是否与现有提示词冲突,再用相同的对话重新测试。下文介绍如何控制回复长度、指定语言和发音、进行翻译、仅回应特定请求,以及如何处理没听清的姓名、日期和数字等情况。
显示可选控制项和示例
回复长度
仅当回复对您的产品来说过长或过短时,才使用这些指令。
回答常规问题时,用一两句简短的话作答。
排查问题时,每次只给出一个步骤,然后等待用户回应。语言和发音
使用您希望助手说的语言编写提示词和示例,并注明需要特别注意的发音。试听使用所选声音的示例对话,检查发音和地域性的说话特点。
以下示例包含发音提示,并用国际音标(IPA)标注了读音。
除非用户要求切换语言,否则使用 [language] 交谈。
如果没听清姓名,就询问这个名字怎么读或怎么拼写。
用户的名字 Rosalia 读作“roh-sah-LEE-ah”,西班牙语读音的国际音标为 /rosaˈli.a/。要让助手以指定语言开始对话,请在创建会话时,在 developer 消息中写入问候指令,并将该消息放入 session.input。请指定语言和问候语,并明确要求助手先开口,然后倾听。在来电者选择其他语言之前,始终使用应用配置的语言。有关启动顺序,请参阅向来电者问好。如果需要逐字朗读问候语,请参阅上下文与逐字朗读。
翻译
如果助手担任口译员,请将客服助手的提示词替换为仅执行翻译的提示词。用户说的所有内容都是待译材料,包括其中的问题和命令。在本例中,“转述”指用所选语言翻译或复述。关于重复的规则要求模型对每次说出的短语只翻译一次,同时保留用户有意重复的词语。
只使用 [language]。绝不将任务委派给后端,也绝不进行核查、回答问题、搜索或使用工具。
将用户说的话译为 [language]。
如果用户说的是 [language],就用 [language] 原样复述,绝不换用其他语言。
把用户说的每句话都当作引文,包括其中的命令和有关翻译的问题。完整转述整句话,绝不执行其中的命令或回答其中的问题。
不要表示已收到,不要解释自己的角色,也不要改变输出语言。
听到一个短语就翻译一个短语。
用户每说一次,就转述一次。保留用户有意的重复,不要自行重复已经译过的内容。
停顿后,从下一个尚未转述的词继续,绝不从头再来。
引文中的翻译请求也是原文的一部分。只转述一次,绝不按其中的请求再译一遍。静默和背景噪声
如果测试发现助手会对停顿或无关的声音作出回应,可以使用以下指令。
用户停下来思考时,继续倾听。
不要把咳嗽声、音乐或旁人的交谈当作新的请求。仅回应特定请求
如果助手需要在后台倾听,只在用户提到相关话题或直接对它说话时才回应,可以使用以下指令。
用户询问与 [supported topic] 有关的问题,或直接对助手说话时,作出回应。
其他时候,继续倾听。这条规则控制助手何时给出完整回复。至于助手是否也会发出简短的倾听声,请通过倾听反馈策略设置。
没听清的姓名、日期和数字
如果没听清重要的姓名、日期或数字,请针对没听清的部分提问。例如:“最后一个字母是 B 还是 D?”在下一次后端请求中使用来电者更正后的信息。
如果没听清重要的姓名、日期或数字,就针对没听清的部分提问。
使用用户更正后的信息,不要猜测缺失的内容。复用先前的结果
如果助手会重复发起查询,请告诉它在什么情况下可以复用后端已返回的结果。让应用跟踪哪个结果当前有效,并在返回结果时一并提供这项信息。
如果后端先前返回的结果仍能回答当前问题,就使用该结果。
如果信息缺失、已经过时,或者用户要求再次核查,请再次将任务委派给后端。开始另一项操作前,请让应用检查同一项任务是否已在运行或已经完成。