Amazon Nova Sonic 시스템 프롬프트에 대한 모범 사례
이 설명서는 Amazon Nova 버전 1용입니다. Amazon Nova 2 스피치 투 스피치 프롬프트 엔지니어링 가이드는 음성 대화 프롬프트를 참조하세요.
Amazon Nova Sonic의 시스템 프롬프트를 작성할 때 스피치 기반 상호 작용은 텍스트 기반 상호 작용과 다르다는 점을 이해해야 합니다. Amazon Nova 이해 모델에 대한 많은 프롬프팅 모범 사례가 Amazon Nova Sonic에 적용되지만 음성 대화의 고유한 역학에 맞게 조정되어야 합니다. 예를 들어, 사용자가 입력한 응답은 신뢰할 수 있는 입력 소스입니다. 그러나 해당 스피치 상호 작용은 컨텍스트가 제한될 수 있으며 대화를 진행하기 전 추가 정보를 요청하기 위해 양방향 상호 작용이 필요할 수 있습니다. 또한 긴 형식 출력의 요구 사항을 충족하는 프롬프트는 정답을 찾는 데 많은 시간이 소모되어 사용자에게 좋지 않은 경험을 줄 수 있습니다.
Amazon Nova 프롬프팅 가이드에 설명된 대로 프롬프트 엔지니어링은 입력을 최적화하여 모델 출력 품질을 개선합니다. Amazon Nova Sonic의 경우 이러한 원칙은 대화형 스피치 패턴에 맞게 조정되어야 합니다.
시스템 프롬프트를 작성할 때 다음 세부 정보를 고려하세요.
명확성 및 정밀도
텍스트에서 명확한 지침도 스피치 컨텍스트에 맞게 재구성해야 할 수 있습니다. 사고를 예방하기 위한 도구를 사용하여 조치를 취하기 전 프롬프트에서 이해 확인을 구하도록 하세요.
| Task |
Traditional prompt |
Speech-optimized prompt |
먼저 사용자의 자격 증명 정보와 예약 번호를 확인합니다. |
Verify the user's identity by requesting their username, email address, and reservation number. Validate that the reservation number follows the format XXX-YYYYY.
|
When asking for verification, request one piece of information at a time. First ask for their name, then wait for their response and confirm it. Next, ask for their email and repeat it back for verification. Finally, ask for their booking code, listening for the three parts separated by dashes (XXX-YYYYY). After collecting the booking code, read it back character by character to confirm accuracy before proceeding.
|
대화 흐름
공식적인 교육 구조보다 자연스러운 대화 흐름을 우선시합니다.
| Task |
Traditional prompt |
Speech-optimized prompt |
Wi-Fi 연결 문제 해결 |
Provide step-by-step instructions for troubleshooting Wi-Fi connectivity issues. Include diagnostic steps, common error codes, and resolutions for each potential problem.
|
Guide the customer through Wi-Fi troubleshooting as a conversation. Start by asking what they've already tried, then suggest one simple step at a time. After each step, pause to check if it is clear before moving on to the next solution. Use everyday language instead of technical terms.
|
메모리 제약 조건
말로 하는 상호 작용은 텍스트와 비교하여 기억 역학이 다르다는 점을 기억하세요. 예를 들어 리스너는 말로 표현되는 이전 텍스트를 쉽게 ‘되짚어 볼’ 수 없습니다.
| Task |
Traditional prompt |
Speech-optimized prompt |
반환 정책 설명 |
Reference sections 1.3, 2.7, and 4.2 from the attached document when answering the user's questions about regulatory compliance. Include specific paragraph numbers in your citations.
|
When explaining our return policy, focus on one key point at a time. First cover the 30-day window, then shipping requirements, and finally condition standards. Summarize all three points together at the end to reinforce the main requirements without overwhelming the customer.
|