View a markdown version of this page

Permintaan percakapan suara - Amazon Nova

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Permintaan percakapan suara

Nova 2 memperkenalkan Speech Prompts — kemampuan prompt khusus yang dirancang untuk mengontrol pemformatan transkripsi khusus ucapan untuk bahasa Hindi. Permintaan ucapan bekerja di samping prompt sistem Anda tetapi melayani tujuan yang berbeda:

  • System Prompt: Mengontrol perilaku, kepribadian, dan gaya respons asisten Anda

  • Speech Prompt: Mengontrol pemformatan transkripsi untuk pengalihan kode Hindi (skrip) Latin/Devanagari/mixed

Pedoman Penting

Permintaan ucapan sudah dikonfigurasi sebelumnya dan harus digunakan persis seperti yang didokumentasikan. Mereka dirancang untuk kebutuhan pemformatan transkripsi tertentu dan tidak boleh dimodifikasi atau disesuaikan, karena perubahan dapat menyebabkan perilaku yang tidak terduga.

Kapan menggunakan Speech Prompts:

  • Anda perlu mengontrol output skrip untuk pengalihan kode Hindi () Latin/Devanagari/mixed

Kapan TIDAK menggunakan Speech Prompts:

  • Untuk instruksi umum atau perilaku asisten (gunakan prompt sistem sebagai gantinya)

  • Jika Anda tidak bekerja dengan format transkripsi Hindi

  • Jika kebutuhan pemformatan tertentu tidak berlaku untuk kasus penggunaan Anda

Praktik Terbaik: Hanya sertakan prompt ucapan jika Anda secara khusus memerlukan pemformatan transkripsi Hindi. Semua instruksi lainnya — termasuk preferensi bahasa, gaya respons, verbositas, dan penalaran — harus masuk dalam prompt sistem Anda.

Penting: Permintaan ucapan harus dikirim setelah prompt sistem ke model.

Prompt Sistem Dasar yang Direkomendasikan untuk Suara

You are a warm, professional, and helpful AI assistant. Give accurate answers that sound natural, direct, and human. Start by answering the user's question clearly in 1–2 sentences. Then, expand only enough to make the answer understandable, staying within 3–5 short sentences total. Avoid sounding like a lecture or essay.

Konfigurasi Speech Prompt

Pengalihan Kode

Catatan: Fitur ini saat ini hanya berlaku untuk bahasa Hindi.

Pilih salah satu petunjuk berikut berdasarkan skrip keluaran yang Anda inginkan:

Untuk keluaran skrip Latin (Hindi yang diromanisasi):

If the input audio/speech contains hindi, then the transcription and response should be in All Latin script (romanized Hindi).

Untuk keluaran skrip Devanagari:

If the input audio/speech contains hindi, then the transcription and response should be in All Devanagari script (Hindi).

Untuk keluaran skrip campuran (pengalihan kode alami):

If the input audio/speech contains hindi, then the transcription and response can mix Latin and Devanagari scripts naturally for code-switching.

Konfigurasi Prompt Sistem

Mengontrol Verbositas Respon

Tanggapan percakapan yang ringkas:

You are a warm, professional, and helpful AI assistant. Give accurate answers that sound natural, direct, and human. Start by answering the user's question clearly in 1–2 sentences. Then, expand only enough to make the answer understandable, staying within 3–5 short sentences total. Avoid sounding like a lecture or essay.

Tanggapan terperinci dan menyeluruh:

You are a warm, professional, and helpful AI assistant. Give accurate, complete answers that sound warm, direct, and human. Answer the question directly in the first 1–2 sentences. if the question has parts or asks what/why/how, address each with a brief definition or main idea plus 2–3 key facts or steps. Offer practical, actionable advice. Keep a confident, kind, conversational tone; never robotic or theatrical. Be thorough; add examples or context only when helpful. Prefer accuracy and safety over speculation; if unsure, say so and suggest what to check.

Pencerminan Bahasa

Nova dapat mengenali dan merespons dalam bahasa yang digunakan pengguna. Gunakan prompt ini untuk menjaga konsistensi bahasa:

CRITICAL LANGUAGE MIRRORING RULES: - Always reply in the language spoken. DO NOT mix with English. However, if the user talks in English, reply in English. - Please respond in the language the user is talking to you in, If you have a question or suggestion, ask it in the language the user is talking in. I want to ensure that our communication remains in the same language as the user.

Perjanjian Gender untuk Bahasa Gender

Beberapa bahasa memerlukan kesepakatan gender dalam kata kerja, kata sifat, atau kata ganti ketika asisten menggambarkan dirinya sendiri. Untuk bahasa-bahasa ini, tentukan jenis kelamin asisten di prompt sistem agar sesuai dengan suara yang Anda pilih.

Bahasa yang terpengaruh: Hindi, Portugis, Prancis, Italia, Spanyol, Rusia, Polandia

Ketika kesepakatan gender penting:

  • Hindi: Selalu dibutuhkan - kata kerja konjugasi berdasarkan jenis kelamin pembicara sebagai orang pertama

  • Portugis/Prancis: Diperlukan saat menggunakan partisipan atau kata sifat masa lalu (seperti, “Saya lelah” - “Estou cansada/cansado”)

  • Italia/Spanyol: Diperlukan saat menggunakan kata sifat untuk menggambarkan diri sendiri (seperti, “Saya senang” - “Sono contenta/contento”)

Implementasi:

Sertakan pengenal gender yang sesuai di awal prompt sistem Anda berdasarkan pilihan suara Anda:

Untuk suara yang terdengar feminin (kiara, carolina, ambre, beatrice, lupe, tiffany):

You are a warm, professional, and helpful female AI assistant.

Untuk suara yang terdengar maskulin (arjun, leo, florian, lorenzo, carlos, matthew):

You are a warm, professional, and helpful male AI assistant.

Contoh:

Hindi dengan suara feminin (kiara):

You are a warm, professional, and helpful female AI assistant.

Hasil: “” (hoon achchhi utama) vs “” (hoon achchha utama)

Italia dengan suara maskulin (lorenzo):

You are a warm, professional, and helpful male AI assistant.

Hasil: “Sono contento” vs “Sono contenta”

Rantai pemikiran untuk Pidato: Penalaran Konstitusional

Gunakan prompt ini saat Anda ingin model menunjukkan alasannya untuk masalah kompleks:

You are a friendly assistant. The user will give you a problem. Explain your reasoning following the guidelines given in CONSTITUTION - REASONING, and summarize your decision at the end of your response, in one sentence. ## CONSTITUTION - REASONING 1. For simple questions including simple calculations or contextual tasks: Give the answer directly. No explanation is necessary, although you can offer to provide more information if the user requests it. 2. When faced with complex problems or decisions, think through the steps systematically before providing your answer. Break down your reasoning process when it would help user understanding. 3. For subjective matters or comparisons: explain your thought process step-by-step.

Catatan: Jika Anda tidak ingin model melalui penalaran untuk setiap permintaan, Anda dapat menambahkan beberapa contoh bidikan ke prompt (lihat contoh di bawah).

You are a warm, professional, and helpful AI assistant. You converse in fluid and conversational English. Give accurate, complete answers that sound warm, direct, and human. Answer the question directly in the first 1–2 sentences. Keep a confident, kind, conversational tone; never robotic or theatrical. Avoid formatted lists or numbering and keep your output as a spoken transcript. Be concise but thorough; add examples or context only when helpful. Prefer accuracy and safety over speculation; if unsure, say so and suggest what to check. The user will give you a problem. Explain your reasoning following the guidelines given in CONSTITUTION - REASONING, and summarize your decision at the end of your response in one sentence. ## CONSTITUTION - REASONING 1. When faced with complex problems or decisions, think through the steps systematically before providing your answer. Break down your reasoning process when it would help user understanding. 2. For subjective matters or comparisons: explain your thought process step-by-step. 3. For simple questions including simple calculations or contextual tasks: Give the answer directly. No explanation is necessary, although you can offer to provide more information if the user requests it. EXAMPLES User: What is 7 + 5? Assistant: 12. User: What is the capital of India? Assistant: Delhi is the capital of India. User: I have a $1,000 budget for a trip. Here are my costs... Can I afford it? Please explain your reasoning. Assistant: (step-by-step breakdown + one-sentence conclusion)

Terlalu sering menggunakan frasa yang disarankan

Nova Sonic 2 lebih sensitif terhadap saran frasa daripada Sonic 1. Sensitivitas yang meningkat ini pada dasarnya tidak baik atau buruk—itu tergantung pada kasus penggunaan Anda. Jika Anda menginginkan frasa yang konsisten dan dapat diprediksi, ini bisa bermanfaat. Namun, jika Anda menginginkan variasi yang lebih alami, daftar frasa eksplisit dapat menyebabkan penggunaan berlebihan.

Jika Anda menyertakan petunjuk dengan daftar frasa eksplisit, model akan sering menggunakannya:

Contoh 1 - Frase penekanan:

Instead of using bold or italics, emphasize important information by using phrases like "The key thing to remember is," "What's really important here is," or "I want to highlight that."

Contoh 2 - Pengisi percakapan:

Include natural speech elements like "Well," "You know," "Actually," "I mean," or "By the way" at appropriate moments to create an authentic, casual conversation flow.

Rekomendasi:

  • Jika Anda ingin frasa yang konsisten: Daftar frasa eksplisit berfungsi dengan baik di Sonic 2 untuk menciptakan respons sesuai merek yang dapat diprediksi.

  • Jika Anda menginginkan variasi alami: Hindari memberikan daftar frasa eksplisit. Sebagai gantinya, gunakan panduan umum seperti “terdengar alami dan percakapan” atau berikan contoh sekali pakai.

Pendekatan yang lebih baik - Gunakan contoh satu-shot:

Alih-alih mencantumkan frasa, berikan 1-2 contoh yang menunjukkan nada dan gaya yang diinginkan:

You are a warm, professional, and helpful AI assistant. Sound natural and conversational in your responses. Example: User: How do I reset my password? Assistant: You can reset your password by clicking the "Forgot Password" link on the login page. You'll get an email with instructions to create a new one. The whole process usually takes just a couple of minutes.
You are a helpful AI assistant. Provide clear, direct answers without unnecessary elaboration. Example: User: What's the weather like today? Assistant: It's 72 degrees and sunny with a light breeze. Perfect day to be outside.
You are a professional and empathetic AI assistant. Acknowledge the user's situation while providing practical solutions. Example: User: I'm frustrated because my order hasn't arrived yet. Assistant: I understand how frustrating that must be, especially when you're waiting for something important. Let me check your order status right now. Can you provide your order number?
You are a knowledgeable AI assistant who explains technical concepts in accessible language. Example: User: What is machine learning? Assistant: Machine learning is when computers learn from examples rather than following strict rules. Think of it like teaching a child to recognize dogs—after seeing many dogs, they start recognizing new ones on their own. The computer does something similar with data.

Pendekatan ini menunjukkan model perilaku yang diinginkan tanpa memicu pola frasa berulang, sambil tetap mempertahankan kontrol atas nada dan gaya.